Digger schreef:
> I need to convert the string to utf8 at first then
> print it to $fh?
Read perlunitut:
http://search.cpan.org/perldoc?perlunitut
http://juerd.nl/perlunitut.html
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
- original Nachricht
Betreff: Re: create a uft8 file
Gesendet: Fr 31 Aug 2007 21:08:08 CEST
Von: "Chas Owens"<[EMAIL PROTECTED]>
> On 8/31/07, Digger <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I want to create an utf8 file and w
Digger wrote:
Chas Owens wrote:
On 8/31/07, Digger <[EMAIL PROTECTED]> wrote:
I want to create an utf8 file and write some content (like html
codes) to it. How to do it?
Modern Perl handles utf8 natively. You can do things like:
#!/usr/bin/perl
use strict;
use warnings;
open my $fh, ">",
On 8/31/07, Digger <[EMAIL PROTECTED]> wrote:
snip
> Does this mean I need to convert the string to utf8 at first then print it to
> $fh?
> Is there a way that I don't need to convert the string by hand?I mean when
> printing,perl convert it
> to utf8 automaticly.
> Thank again.
snip
It is my, p
> -Original Message-
> From: [EMAIL PROTECTED]
> Sent: Fri, 31 Aug 2007 15:07:21 -0400
> To: [EMAIL PROTECTED]
> Subject: Re: create a uft8 file
>
> On 8/31/07, Digger <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I want to create an utf8
On 8/31/07, Digger <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to create an utf8 file and write some content (like html codes) to it.
> How to do it? thanks.
snip
Modern Perl handles utf8 natively. You can do things like:
#!/usr/bin/perl
use strict;
use warnings;
open my $fh, ">", "outfile"
Hello,
I want to create an utf8 file and write some content (like html codes) to it.
How to do it? thanks.
GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at
http://www.crawler.com/smileys
Works with AIM®, MSN® Messenger, Yahoo!® Mes