in reply to I can see the forest…
Slightly off-topic...
I display the Perl Monks RSS feed on my home-grown perl-generated bookmarks page. Today, this feed broke and wouldn't display. It turned out there's a funky character embedded in the title for this item, and my script didn't handle it very gracefully. Try this at home:
wget http://www.perlmonks.org/headlines.rdf
Look at the source, and you'll see "I can see the forest[]" where [] is the unprintable character. I don't know what it is in the RSS feed generator for this site that turned "..." into a new character, but I had to "decode" the string as if it were in UTF-8 in order for Perl to know what to do with it.
So... public service announcement for you all.
- Aaron
Re^2: [OT] I can see the forest…
by simonm (Vicar) on Oct 08, 2004 at 15:42 UTC
|
FWIW, there's a special ellipses character in many character sets that combines three dots "..." into a special character number 224, “…". Some desktop applications may even convert these on the fly when the user types three periods in a row, in much the same way that Word converts normal quotes to curly quotes.
| [reply] |
|