QUOTE(Christian J @ Sep 4 2018, 11:45 AM)
QUOTE(pandy @ Sep 4 2018, 03:20 AM)
Yeah, I think so. I don't know the ins and outs of it, but Perl at least used to have a problem with Unicode.
IIRC, the åäö characters looked like this:
åäö, which I think usually happens if a document saved as UTF-8 still uses the iso-8859-1 charset. I tried replacing every occurence of iso-8859-1 META charset tags in the perl script with UTF-8,
Meta tags in the script? How would that work?
QUOTE
and even tried saving the perl script itself as UTF-8 to no avail.
There's more to it. Have you read this?
https://perldoc.perl.org/perlunicode.htmlI haven't more than glanced at it. But I think you may find something there.
QUOTE
QUOTE
Maybe if you had made the script also convert Unicode åäö to entities?
Alas I don't know Perl or Unicode well enough.
Neither do I.
QUOTE
I was thinking of making the form on the UTF-8 page to submit its form data as iso-8859-1, so that the Perl script then could handle it. Could a form's ACCEPT-CHARSET attribute be used for that?
But why is it important that the page is UTF-8? Can't you just go back to what you had?