From: Erik <eri...@bo...> - 2002-10-02 11:38:33
|
Hi, again Now it seams that I have found an other conversion bug. Previous I mail about a problem when using XML::LibXML when fetching a search result. The solution to that problem was to use Text::Iconv on the result with works fine. Now I have found an other place where same type of bug emerge. It is when I use Content (and file.xml) with default input and output set to ISO-8859-1. All text not in the content file don't get converted back from UTF-8. This happens both with UTF-8 and ISO-8859-1 encoding on the content file.=20 If I set the default input to UTF-8 all woks fine except that I get an error on other pages saying that it can't convert to ISO-8859-1 from UTF-8 (on line ~505 in .../PageKit/View.pm) and dies. =20 If I remove the component that use Content all works as expected. (no error in converting chars on any page). So I guess that PageKit/Content.pm has to be aware of that the default output and input and convert the text if needed. This happens in perl 5.6.1. --=20 /erikg=20 =20 Erik G=FCnther eri...@bo... System Developer Bokus AB +46 (0)40 - 35 21 19 =20 =20 Fortune: Presidency: The greased pig in the field game of American politics. -- Ambrose Bierce |