ä
This encodes two characters, not one, so it's certainly not what you want.
To avoid getting something like, decode your strings with Encode::decode and then apply utf8::upgrade on the string. (That last step may not be necessary if all you want is to entity-encode the string).
See also Perl an Character Encodings, Encode, perluniintro, perlunicode, perlunifaq.
In reply to Re: UTF-8 entities in XML/HTML?
by moritz
in thread UTF-8 entities in XML/HTML?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |