[Tutor] UTF-8 by default

Kent Johnson kent37 at tds.net
Sun May 29 02:29:56 CEST 2005


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



More information about the Tutor mailing list