[GRASS-dev] [GRASS GIS] #2205: Unicode unequal comparison in location wizard when title contains non-ascii letters
GRASS GIS
trac at osgeo.org
Sat Jan 3 18:19:53 PST 2015
#2205: Unicode unequal comparison in location wizard when title contains non-ascii
letters
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
Replying to [comment:2 hellik]:
>
{{{
File "C:\OSGeo4W\apps\Python27\lib\encodings\cp1252.py", line 12, in
encode
return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u0101' in
position
18: character maps to <undefined>
}}}
No surprise there. U+0101 ("LATIN SMALL LETTER A WITH MACRON") doesn't
exist in cp1252 (Western Europe); I believe that cp1257 (Baltic) is the
correct codepage for this.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2205#comment:4>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list