Subject: | UTF-8 codes get reencoded |
When I save in background, the UTF-8 characters suffer a reencoding:
they are rendered as single bytes, and then each byte is encoded in
UTF-8 again. So for instance, I had:
está
where "á" needs 2 bytes. And when I save in background, I have:
está
where "Ã" needs 2 bytes and "¡" 2 bytes.
It should maintain the encoding (UTF-8) and change nothing. A normal
'save' works ok.
So probably the problem is in the AJAX interface. Maybe it wants
unencoded content (also no %F3%C7... but just á), or it makes an extra
conversion at the output. But in the code there's nothing about encoding
or conversions...
Perl 5.8.8 on Debian; testing Kwiki 0.38-1