Sometimes it throws error which i am unable to trace
And what's the text of the error message?
I agree with oshalla that Encode is the way to go. You simple decode($encoding, $string) every string that comes from the outside, and encode($encoding, $string) stuff before you write it it. (Or if your XML module is smart enough you just pass the decoded string to the module).
See also Character encodings and perl, perluniintro, perlunifaq, perlunicode, Encode.
In reply to Re: UTF in Perl
by moritz
in thread UTF in Perl
by KarthikK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |