develooper Front page | perl.perlfaq.workers | Postings from April 2011

Character encoding issue in perlfaq4.html (Data: Hashes section)

From:
Nick Morrott
Date:
April 27, 2011 00:31
Subject:
Character encoding issue in perlfaq4.html (Data: Hashes section)
Message ID:
BANLkTimetbX=Wq5MOZFma-+bcc=h2xkZXg@mail.gmail.com
Hey,

Whilst reading through the "Data: Hashes" section of the FAQ I noticed
what appears to be a UTF-8 to ISO-8859-1 to HTML entity char
conversion error in brian d foy's entry about multilevel hash checks
(the last item in the section,
"http://faq.perl.org/perlfaq4.html#How_can_I_check_if_a").

Specifically, the word "naïve" contains an incorrectly-encoded "LATIN
SMALL LETTER I WITH DIAERESIS" character, which is instead shown using
2 HTML entities (ï) that reflect the 2 bytes the UTF-8
encoding of this character uses (C3 AF). I think the correct HTML
entity to use instead would be "ï".

Cheers,
Nick



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About