here $val is taken from external TXT file.
Did you open that file with <:encoding(UTF-8)? If not, it's a byte string, and probably won't work well with clean modules.
Update: and of course you need the >:encoding(UTF-8) ouput layer when opening the result file.
In reply to Re: UTF8 issue with XML::XPath
by moritz
in thread UTF8 issue with XML::XPath
by jodaka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |