in reply to Re: Re: unicode file in mysql
in thread unicode file in mysql
Actually Text::Iconv is your friend.
#!/usr/bin/perl -w use strict; use Text::Iconv; use HTML::Entities; # create the conversion method (only once) my $conv = Text::Iconv->new("utf8", "latin1"); my $html_text = encode_entities( $conv->convert( $utf8_text));
If you want to get fancy you can use the bit of code in converting character encodings
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: unicode file in mysql
by coeur2v (Initiate) on Aug 21, 2001 at 19:40 UTC | |
by mirod (Canon) on Aug 21, 2001 at 19:50 UTC |