On 9/30/10 11:55 AM, Jacek Kałucki wrote:
> It's even worse, because 'xmltodict' function uses 'defaultEncoding' setting
> to decode report file, where it should rather take this setting from
> xml file header, what results strings become garbaged and sometimes raises
> Expat exceptions in application.

If I understand correctly, xmltodict() should decode using whatever encoding is 
specified in the XML header, instead of using dabo's defaultEncoding. And 
dicttoxml() 
should encode using either an explicitly-passed encoding, or dabo's 
defaultEncoding.

Does that sound right? Unicode encoding/decoding is definitely a weak area in 
my 
Python knowledge.

Paul

_______________________________________________
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]

Reply via email to