Lists Home |
Date Index |
In order to send special characters there are three different approaches.
1) Save the file using some encoding (character set) that has all the characters:
for example UTF-8.
2) Save the file as ASCII, but with all the special characters replaced by
numeric character references. For example, ç is ç
3) Sace the file using entity references. You will need to use a DTD which
declares those entities. For example, 'ã' is ã
Of these, the easiest way is probably 1). But it is also the way that confuses
people the most. You say your program does not save the characters:
perhaps you could send some more details on what is happening: are
any strange bytes being written to the file. What programming language
are you using? What operating system are you using.
----- Original Message -----
My program builds and sends a XML file that insert material categories in
my catalog. When I have a category name with special characters such 'ç',
'ã', 'ô' etc, it isn't saved correctly in the catalog. Is there any way to
send this names and preserve the special characters?