--- Gustavo Sverzut Barbieri <[EMAIL PROTECTED]> escreveu: >
Hello,
> 
> More problems, now trying to fix web interface. I tried to use
> gettext
> there, but I need to get gettext to use unicode, else I get weird
> chars... but then it becomes a real mess! I'm quite lost!
> 
> Changing gettext to use unicode was easy, but many sources use print
> _(...), but many languages uses non-ascii chars and it returns in
> unicode -> BOOM! Solution: use String(_(...)). It was easy to
> convert.
> 
> But when it come to web interface, what a pain! I have filenames in
> UTF-8, but reading them raw breaks (UnicodeError), having them
> unicode
> and the passage between pages breaks it. Using encoding('latin-1')
> from
> incoming seems to work, but I doesn't know if it's the standard... so
> I'm researching a bit more.
> 
> If you have some ideas on how to fix those, please send. I doesn't
> expect to commit anything soon, but let me know as fast as you can so
> I can test it here.

I successfully made the entire web interface i18n-able. I solved the
issues from filenames using latin-1 from incoming data.
   Any interest in testing, please mail me. I'm using modem right know
so I will not upload it right now.

Gustavo

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to