#1191: dabo uses utf-8 instead of cp1252 as default encoding on Windows
---------------------+------------------------------------------------------
Reporter: cito | Owner: somebody
Type: defect | Status: new
Priority: major | Milestone: 0.8.3
Component: ui | Version: 0.8.4
Resolution: | Keywords: encoding
---------------------+------------------------------------------------------
Comment (by cito):
I just looked a bit closer and it's actually not so bad as I thought.
You're right locale.getlocale() will return None only as long it is not
initialized, but it *is* actually initialized in dApp.py, so inside the
application, app.Encoding is set correctly, and everything is fine.
The only small issue is that dabo.defaultEncoding (not app.Encoding) is
set wrongly, but that usually doesn't matter. I think we only need to use
locale.getdefaultlocale() instead of locale.getlocale() in dLocalize.py
and in xmltodict.py to fix that.
--
Ticket URL: <http://trac.dabodev.com/ticket/1191#comment:2>
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]