Re: Output Unicode

2004-03-30 Thread Octavian Rasnita
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

RE: Streaming a file to a remote user

2004-03-30 Thread Charles K. Clarkson
On Friday, March 26, 2004 12:50 AM, Shaun Fryer <[EMAIL PROTECTED]> wrote: : : > 4. Decoded file is streamed to user, who saves the file locally. : > Jason [snip] : #!/usr/bin/perl : : ## : To download a file via a GET request : http:/

Re: Output Unicode

2004-03-30 Thread mt m
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

Re: Output Unicode

2004-03-30 Thread Octavian Rasnita
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. Thank you anyway. Teddy - Original Message - From: "Wiggins d Anconia" <[EM

Re: Output Unicode

2004-03-30 Thread mt m
You certainly can. There's another alias - "[EMAIL PROTECTED]" to which you can send unicode related questions. To set the HTTP header correctly you should use the following: print header (-charset => 'utf-8')'; as opposed to the standard : print header; -which sets the page encoding to iso-88

Re: Output Unicode

2004-03-30 Thread Wiggins d Anconia
> Hi all, > > Does anyone know how could I print a UTF-8 HTML page (like Google's one)? > > Which modules I need to use? > > Is perl able to do that? > > Thank you. > You may find some useful help in, perldoc perluniintro perldoc perlunicode perldoc utf8 I suspect it can, just don't know mu