Jonas Melian wrote: > Hi all, > > I'm working with an XML file, and i want to write in UTF-8 > How write by default in UTF-8 instead of ASCII?
How are you writing the file? What encoding is your data originally? If the data is all in US-ASCII (codes 0-127) then it is already UTF-8 as US-ASCII is a subset of UTF-8. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor