#1185: Encoding problem with path of connection file
---------------------+------------------------------------------------------
Reporter: cito | Owner: ed
Type: defect | Status: assigned
Priority: major | Milestone: 0.9
Component: app | Version:
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by cito):
Thanks, I didn't know about that function and I think it's finally the
proper solution!
It returns 'mbcs' on my XP system which seems to be pretty much the same
as 'cp1252'.
The Python docs has the explanation: "On Windows NT+, file names are
Unicode natively, so no conversion is performed. getfilesystemencoding()
still returns 'mbcs', as this is the encoding that applications should use
when they explicitly want to convert Unicode strings to byte strings that
are equivalent when used as file names."
Shall I go and commit an adapted patch?
However, this will not solve the other issue with getlocale() mentioned
above. I will open a separate ticket for this.
--
Ticket URL: <http://trac.dabodev.com/ticket/1185#comment:7>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]