|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: CGI Script for Reading Newest Nodesby epoptai (Curate) |
| on Jun 14, 2001 at 07:57 UTC ( #88287=note: print w/ replies, xml ) | Need Help?? |
|
Looking good voyager. Here's a small patch that will convert any UTF-8 extended ascii from XML::Parser to latin1 so odd nodetitles or usernames look right. Example nodetitle from today's new nodes:
Before: Reactionary Coding—One-Shot Programs Add this conversion subroutine:
Add two lines to the foreach loop in sub html_by_type: Enjoy.
--
In Section
Code Catacombs
|
|
||||||||||||||||||||