Użytkownik Paul McNett napisał: >> Point is that Python encode/decode methods, they do understand >> both, 'windows-1252' and '1252' encoding naming. >> But IANA naming standard, used in XML, it requires 'windows-1252'. >> > Python may understand that 'windows-1252' and '1252' are the same, but is it > always > guaranteed to understand that 'some-encoding-x' is the same as 'EncodingX'? > >
Nope. But you may use some kind of dictionary for most popular charsets: http://www.iana.org/assignments/character-sets -- Regards Jacek Kałucki _______________________________________________ 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]
