|
|
Choosing A Webhost: |
Re: Accented characters making XML::Parse choke?: msg#00034tv.xmltv.devel
On Mon, 9 Sep 2002, Joe Drew wrote: >>I strongly suspect a badly formed input file. > >I'm running tv_grab_na and then tv_sort. The output of tv_grab_na has as >its declaration: > ><?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> Sounds okay, I know that tv_grab_na outputs Latin-1 characters. >and once it is put through tv_sort > ><?xml version="1.0" encoding="UTF-8"?> Hmm. That is the expected behaviour, and it's because Perl's XML::Parser module always converts everything to UTF-8 on input. >If no conversions are done on the data I can see that this would >lead to a problem. Yes. But the XML parsing ought to convert to UTF-8 on input, so there couldn't be any Latin-1 characters left to output again. >I will be able to give you an example of this, if you need one, >later today when I get home. Yes please. Are you using the 0.5 release or the CVS head? -- Ed Avis <ed@xxxxxxxxxxx>
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Accented characters making XML::Parse choke?, Ed Avis |
|---|---|
| Next by Date: | Re: Accented characters making XML::Parse choke?, Ed Avis |
| Previous by Thread: | Re: Accented characters making XML::Parse choke?, Ed Avis |
| Next by Thread: | Re: Accented characters making XML::Parse choke?, Ed Avis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |