I tried a lot of new combinations without any success.
The u'accented_string' didn't correct anything.
I put DEBUG = 1 in local_conf.py.
I noticed that whatever LOCALE I set in local_conf.py, when freevo starts it
outputs :
config.py (903): Using 'UTF-8' encoding.
Looking at that file, I think it doesn't use the local_conf.py LOCALE if it
finds either a "LANG" or a "LC_ALL" env variable. Since I have both set to
"fr_FR.utf-8" config.py extracts "utf-8" from the first. So the "encode" var is
always set to utf-8 there, is it ok ?
I tried to force it to "latin-1" but no change, so I reverted my change.
Should I change my system locale to something else than fr_FR.utf-8 ?
I noticed that only the VIDEO_ITEMS strings are not correctly displayed.
Directory names with accents are ok (those under /path/to/downloads/ for
example).
Also, in freevo/src/sitecustomize.py, sys.setdefaultencoding is set to 'utf-8',
but I guess it is ok...
> Either LOCALE is good, latin-1 or iso-8859-1, utf-8 is not useful.
>
> Try, either:
> VIDEO_ITEMS = [ (u'Enregistrements', '/path/to/tv/recordings'),
> (u'Téléchargements', '/path/to/downloads') ]
> or
> # -*- coding: iso-8859-1 -*-
> #----------------------------------------------------------------------
> # local_conf.py - System configuration
> ....
> VIDEO_ITEMS = [ ('Enregistrements', '/path/to/tv/recordings'),
> ('Téléchargements', '/path/to/downloads') ]
>
> Both should work, I use the first option.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users