and submit that, when I check the database it has this:
[ I'm going with the assumption that the problem is that the database actually has stuff in the &# notation. If PerlMonks did that, let me know. ]
It's not Perl that did it. It's the browser that encoded the characters that way because it was asked to encode characters that didn't exist in the encoding it was directed to use (e.g. characters outside of iso-8859-1 when the encoding of the form's page is iso-8859-1).
I made sure my headers in the browser that perl prints have the correct encoding
If the problem is as I described, you shouldn't have the problem if the page containing the form is encoded using UTF-8.
What content type do you specify in the actual HTTP header. You've only shown the the content type you tell the browser the header should have contained.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
Unrelated to your question: You claim your content is HTML, but that "/" at the end is illegal HTML.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
should be
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
In reply to Re: Russian Language read from mysql into perl script problem
by ikegami
in thread Russian Language read from mysql into perl script problem
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |