Hey Monks, I've searched far and wide and I climbed the mountain of knowledge for assistance.
I have an HTML Form (saved in UTF8 encoding, french text), once the users input their information, the form post is accept-char: UTF8 and executes a PERL script. This script outputs the same variables from the previous FORM and asks for confirmation.
I've declared binmode UTF8 which allows the self-printing HTML text to print out all the accents etc. This all works fine until a field in the form contains an accent/special character (like the name for example).
The PERL script prints out content fine, but when it prints out a variable that came from the FORM itself, the accents become jumbled characters.
I'm not exactly sure why this is happening or how to solve it.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
Outside of code tags, you may need to use entities for some characters:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||