Thursday, June 5, 2008

Convert character sets from UTF8 to Latin1 and Base64

Folks,
I came across this learning during some work where I have to convert some utf8 based characters from database to latin1 and some cases vice versa.....

Perl site has good demo of this. Check this out...

http://perldoc.perl.org/Encode/Encoder.html.

This can also convert Latin1 to base64 and vice versa....

Pretty cool stuff.

No comments: