----- Forwarded message from Martin Hagelin <[EMAIL PROTECTED]> -----
From: Martin Hagelin <[EMAIL PROTECTED]> Date: Sun, 5 Nov 2006 16:44:15 +0100 To: John Goerzen <[EMAIL PROTECTED]> Subject: Re: Bug#396863: hpodder: Problem with UTF-8 encoding Hi again, I've looked into this a bit more, and maybe it's a bug after all... I've changed my system now to support a UTF-8 locale, and that makes the filenames and directories display correctly. However, the ID3tags are still in UTF-8 format which my mp3 player (mediamonkey & iPod) doesn't understand. From what I understand, UTF-8 encoding is not supported in version 2.3.0 of the ID3 tag standard. The files that are downloaded with hpodder is version 2.3 (at least the ones that I have problems with). I think that a more apropriate way would be: 1. Generating files and directory names. hpodder should check the encoding used on the system and, if needed, convert the names from the XML file encoding to the system locale. 2. Generating ID3 tags hpodder should check the encoding used on the system and, if needed, convert the tag names from the XML file encoding to ISO8859-1 (if the ID3 version is 2.3). Regards, /Martin ----- Original Message ----- From: "John Goerzen" <[EMAIL PROTECTED]> To: "Martin Hagelin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, November 04, 2006 1:25 AM Subject: Re: Bug#396863: hpodder: Problem with UTF-8 encoding hpodder is copying the data exactly as it comes from that XML file. It seems to be doing the right thing. It looks like your system is not set up to understand UTF-8, and that the XML file is using UTF-8. I don't believe that is a problem with hpodder. -- John On Fri, Nov 03, 2006 at 11:25:43PM +0100, Martin Hagelin wrote: >Hi, > >The directories that hpodder creates have the wrong (international) >characters, as well as in the ID3 tags. > >The directory created for the podcast >http://www.sr.se/Podradio/xml/Ekots_lordagsintervju.xml will get named: > > P1_Ekots_lördagsintervju > >but it should be > > P1_Ekots_lördagsintervju > >Same for the ID3tags. The title gets set to "Ekots lördagsintervju >2006-10-21" but should be "Ekots lördagsintervju 2006-10-21". > >I guess that the international characters are UTF-8 encoded (which I don't >have real knowledge about) but I guess that it uses a two byte encoding as >'ö' becomes 'ö'. > >/Martin > >----- Original Message ----- >From: "John Goerzen" <[EMAIL PROTECTED]> >To: "Martin Hagelin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Friday, November 03, 2006 3:03 PM >Subject: Re: Bug#396863: hpodder: Problem with UTF-8 encoding > > >>On Fri, Nov 03, 2006 at 01:12:26PM +0100, Martin Hagelin wrote: >>>Package: hpodder >>>Version: 0.5.8 >>>Severity: normal >>> >>>When accessing a podcast feed that has encoding = utf-8, international >>>characters doesn't display correctly. >> >>Can you be more precise about "display correctly"? Is this from running >>hpodder itself, from looking at id3 tags, or... ? What command are you >>using? >> >> > > -- John Goerzen Author, Foundations of Python Network Programming http://www.amazon.com/exec/obidos/tg/detail/-/1590593715 ----- End forwarded message ----- -- John Goerzen Author, Foundations of Python Network Programming http://www.amazon.com/exec/obidos/tg/detail/-/1590593715