Re: Segfault using HTML::Entities
[email protected] (Eric Cholet)
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
Le 30 juin 04, à 14:46, Richard Jolly a écrit : > In my original mail the offending line was: > > <title>The Modern R&eacute;sum&eacute;</title> > > Now this is a bit off, because is RSS, therefore utf8, but its got > encoded latin1 entities (é) in there, with the & further > encoded for xml safety. I'm no XML expert, but this doesn't look right. An e acute is é whereas &eacute is é. It's not "safer", it's different. IMHO the double encoding is in the XML data itself. Also, saying é et al are "latin1" entities doesn't make sense to me, since entities are a way to encode non ASCII characters into an ASCII representation-- this is orthogonal to the XML document's encoding or the XML parser's output encoding. -- Eric Cholet