|Subject:||warning on latin-1 pod files|
|Date:||Sun, 24 Oct 2010 07:40:07 +1100|
|To:||bug-Gtk2-Ex-PodViewer [...] rt.cpan.org|
|From:||Kevin Ryde <user42 [...] zip.com.au>|
Displaying the Math::Symbolic pod page with load_file() gets a warning, utf8 "\xFC" does not map to Unicode at /usr/share/perl5/Gtk2/Ex/PodViewer/Parser.pm line 314, <FILE> line 560. which appears to be a complaint about latin-1 in Math::Symbolic. I think Gtk2::Ex::PodViewer::Parser shouldn't assume pod is utf8. There's a bit in perlpodspec about BOM, then first high-bit for utf8, otherwise latin1 (though I actually thought it was latin1 whenever no "=encoding"). Perhaps Pod::Parser or Pod::Simple can be asked to take care of it either way, since various consumers of a parse want to know the charset, or have it as wide chars.