-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On August 16, 2003 02:55 am, Gustavo Sverzut Barbieri wrote:
> Hello,
>
> I'm developing a grabber (tv_grab_br) and as here in Brazil we use a
> lot of chars like á,ã, ... I used the &<entity>; XML recomendation, so
> á == &aacute;
>
> Ok, so when loading the guide with Freevo, it remove those chars! It's
> really ugly, so you get something like "Sesso" instead of "Sessão"
> (Portuguese word for "session")
>
> I'm doing something wrong or what?

You don't need to use entities, except for &lt; and &amp; as it is not HTML. 
You simply have to define your character encoding at the top of the file. 
xmltv.py always returns Unicode objects instead of strings.

The bug is actually in whatever Freevo is using for character display 
(SDL_ttf2?) or maybe the fonts used, where it will only display Latin-1 chars 
1-127. I had the same problem with GTK, which threw exceptions, and found 
that Qt seems to do the right thing.

- -- 
James Oakley
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/P7nbKtn0F7+/lLMRAkGTAKCTIPXF49wmyWFmDR3h8unsCcFYeACeITJ/
eddqwPKN+kKHbxez8EY7LIQ=
=HFog
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to