perl-unicode

Re: Creating a UTF-8 web page

2004-04-07 23:30:07
Ok, thank you for your help, but I guess in this case my problem is that I
don't know how to print the UTF8 string.
I want to get a latin2 text and print it as UTF-8 and I hope this is not too
complicated. Please help.
For example I want to print a text like:

print "mâta";

Thank you.
Teddy



----- Original Message ----- 
From: "Brian Stell" <bstell(_at_)ix(_dot_)netcom(_dot_)com>
To: <perl-unicode(_at_)perl(_dot_)org>
Sent: Wednesday, April 07, 2004 7:00 PM
Subject: Re: Creating a UTF-8 web page



    binmode($outf, ":utf8");
    # write BOM
    print $outf chr(0xfeff);


Eric Cholet wrote:

<Prev in Thread] Current Thread [Next in Thread>