Hi,

How the internationalization works in Python 2.6.

Internationalization is different topic. Here you are dealing with
character encoding.


You are actually on right track except this line:

     write_to_xml(input_string_unicode, encoding)

change it to

      write_to_xml(input_string_unicode, 'utf-8')

Basically once you have already converted the string to unicode
you should just write the output as unicode and utf8 is generally
more acceptable encoding.

rgds
vivek


_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to