Thank you. I have tried to set the header of the web page as you described, but I have seen that the special chars like şţăîâŞŢĂΠare not recognized correctly, even though the browser recognizes that the encoding is UTF-8.
However, I have seen that the page returned by Google is viewed correctly, but their page uses those byte order marks special chars that I don't know how to print. If I print only common ASCII chars, I have no problem printing them in UTF8. Thanks. I will subscribe to the other mailing list. I hope the address for subscribing is [EMAIL PROTECTED] Teddy ----- Original Message ----- From: "mt m" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 30, 2004 10:51 PM Subject: Re: Output Unicode > >I have tried those modules and others like Encode, and they produce UTF-8 > >strings, but without printing those first 3 special chars which made the > >browser and other programs to recognize that it is a UTF-8 file. > > Are you talking about the Byte Order Marks (BOM) ? The browser doesn't need > these to know that the file is UTF-8. - Other apps might. > > There are several ways to tell a browser what the encoding of a page is. Use > one of these methods when outputting from your cgi script, then do a -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>