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
In reply to Re: Re: Re: unicode file in mysql
by mirod
in thread unicode file in mysql
by coeur2v
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |