If you want to convert strings from, say, UTF-8 to Latin1, then you can do this as simply as this :
use Unicode::String qw(utf8);
print utf8(“string in utf-8”)->latin1
Easy ? 😀
If you want to convert strings from, say, UTF-8 to Latin1, then you can do this as simply as this :
use Unicode::String qw(utf8);
print utf8(“string in utf-8”)->latin1
Easy ? 😀