Am Montag, 8. Januar 2007 04:03 schrieb [EMAIL PROTECTED]:
> Author: forenr
> Date: Mon Jan  8 04:03:12 2007
> New Revision: 16592
> 
> URL: http://www.lyx.org/trac/changeset/16592
> Log:
> Fix problem with filename encoding in python script for graphics 
conversion
> 
>       * src/graphics/GraphicsConverter.C
>       (build_script): convert the input filename from utf8 to the default
>       locale encoding as it hopefully corresponds to the filesystem encoding.

Great! It would be nice if you could check whether we need something like 
this in other python scripts as well.
What I do not understand: Why does python not set the right encoding for 
us? There might be reasons to access files with the raw encoded string, 
but if python already knows that it is an unicode string why does it not 
convert it to the right encoding?


Georg

Reply via email to