#2525: Unable to open sqlite database if path contains non-latin letters
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
Replying to [comment:3 hellik]:
>
{{{
File "C:\OSGeo4W\apps\Python27\lib\encodings\cp1252.py",
}}}
Again, that character doesn't exist in cp1252. This isn't specific to
GRASS; any portable C code will have exactly the same problems. The only
way that you can open that file is to use Windows-specific functions (e.g.
_wfopen() or CreateFileW()). Even passing it as an argument requires using
wmain() instead of main().
I'm only interested in whether it works in a locale which uses cp1257. The
fact that it doesn't work with cp1252 is a "wontfix".
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2525#comment:5>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev