[XML-SIG] Processing xml files with ISO 8859-1 chars

Rodrigo Senra rodsenra@gpr.com.br
Fri, 9 Nov 2001 14:57:03 -0200


 |Dan Gunter <dkgunter@lbl.gov>,
 |on Wed, 07 Nov 2001 07:02:35 -0800
 |about Re: [XML-SIG] Processing xml files with ISO 8859-1 chars

 > The simple answer is that the XML parser is illiterate. Since there are 
 > no bit patterns that are illegal in UTF-8, I don't see how the parser 
 > could know that the chosen encoding produced, from the user's 
 > perspective, garbage. The pretty-printer, on the other hand, knows the 
 > difference between printable and non-printable characters and can thus 
 > complain.

 Thank you all for your replies! 
 Adding the header with  encoding='iso-8859-1' was sufficient.

 best regards
 Senra
___
Rodrigo Senra         
Computer Engineer   (GPr Sistemas Ltda)         rodsenra@gpr.com.br 
MSc Student              (IC - UNICAMP) Rodrigo.Senra@ic.unicamp.br
http://www.ic.unicamp.br/~921234  (LinUxer 217.243) (ICQ 114477550)