On Apr 7, 2004, at 9:13 AM, SADAHIRO Tomoyuki wrote:
On Tue, 6 Apr 2004 18:05:32 -0400
gohaku <[EMAIL PROTECTED]> wrote:
Hi everyone,
I have some ( actually many ) records in a Database that I want to
"clean"
Some of these records contain Unicode Text ( Mostly East-Asian )
I have tried matching f
Octavian Rasnita <[EMAIL PROTECTED]> writes:
>I have tried the following script:
>
>#!/perl/bin/perl -wC
>
>use Encode;
>
>my $text = Encode::decode('latin2', 'mÃta');
>
>binmode(STDOUT, ":utf8");
>
>print "Content-Type: text/html; Charset=UTF-8\n\n";
>print Encode::encode('utf8', $text);
>
You ha
I have tried the following script:
#!/perl/bin/perl -wC
use Encode;
my $text = Encode::decode('latin2', 'mâta');
binmode(STDOUT, ":utf8");
print "Content-Type: text/html; Charset=UTF-8\n\n";
print Encode::encode('utf8', $text);
Well, the browser (Internet Explorer 6 prints:
mAcALÄf
... and
Le 8 avr. 04, à 07:38, Octavian Rasnita a écrit :
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