On Sep 30, 2010, at 9:22 PM, Paul McNett wrote:
> Hmm, maybe. What would happen if a report was created on Windows, and the xml
> got
> saved with encoding="cp-1252" and the person tried to run the report on Linux?
Look at xmltodict, line 399:
header = '<?xml version="1.0" encoding="%s" standalone="no"?>%s' \
% (default_encoding, eol)
In this case, 'default_encoding' is dabo.getEncoding().
If the document was encoded with cp-1252, you'd want to use the same
encoding to decode it, right? Linux can decode cp-1252; it just doesn't default
to it.
-- Ed Leafe
_______________________________________________
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]