in reply to Re^10: Japanese character in Linux
in thread Japanese character in Linux
Well, I would consider using "Encode::decode_utf8" very wrong here. At least from your previous messages it followed, that the data inserted into database was in UTF-16 encoding, so when you apply "decode_utf8" function to it, you create a mess and nothing else. Of course this function does not hurt any of pure ASCII data.
You should use "Encode::decode("UTF-16", $_)".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^12: Japanese character in Linux
by Anonymous Monk on Jul 14, 2011 at 12:31 UTC |
In Section
Seekers of Perl Wisdom