Hi List, I'm trying really hard the last 2 days to get around the problem UTF-8 to ISO-8859-1
I receive a POST of an UTF-8 XML Document, declaration is okay, the document is send by a Windows Server. Now I have tried to convert the document to Latin1 (ISO-8859-1) by all the ways I can imagine, but nothing really modifies the utf flag. When I change the text to iso-8859-1 and I put it into my database (utf8 also as latin1) I get this sign " Â " before the sign I want to save in my database! When I print out the string on the screen of the server (logfile) it shows me that the data comes in with the utf-8 flag set on (Â sign I guess) an after transforming it I print it out by data::dump and the signs become something like \x{c2}\x.... the \x{c2} I guess is the special character set by utf, okay now I transform the string using Unicode::String And the string becomes Latin1 in the logfile, but in my database not, in the UTF-8 table the signs are good, but in the latin1 table the signs become weird. Maybe someone has a hint how to convert a XML::Simple document (by POST) in UTF-8 with the FLAG set on to a Simple LATIN1 document so that I can safe it into my latin1 table! Tanks for any help Ciao Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>