KarthikK has asked for the wisdom of the Perl Monks concerning the following question:
#Convert from UTF-8 from input XML use unicode::UTF8simple; my $uref = new Unicode::UTF8simple; my $str_var = $uref->fromUTF8("windows-1256",<XMLNODE>) #$str_var->Goes to database column while getting it back from database to put into XML i use #Convert to UTF-8 for outpu XML use unicode::UTF8simple; my $uref = new Unicode::UTF8simple; my $strvar = $uref->toUTF8("windows-1256",<XMLNODE>)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: UTF in Perl
by gone2015 (Deacon) on Oct 10, 2008 at 09:18 UTC | |
|
Re: UTF in Perl
by moritz (Cardinal) on Oct 10, 2008 at 12:00 UTC | |
by KarthikK (Sexton) on Oct 10, 2008 at 14:17 UTC | |
by moritz (Cardinal) on Oct 10, 2008 at 14:41 UTC | |
by KarthikK (Sexton) on Oct 10, 2008 at 14:56 UTC | |
by moritz (Cardinal) on Oct 10, 2008 at 15:07 UTC | |
| |
by KarthikK (Sexton) on Oct 10, 2008 at 12:45 UTC |