Ubunu - Linux - Unicode - encoding
Franz Steinhaeusler
franz.steinhaeusler at gmx.at
Thu Feb 1 00:39:24 PST 2007
On Thu, 1 Feb 2007 16:23:32 +0800, limodou <limodou at gmail.com> wrote:
>> Not directly related, but I would be intersted, if you try your ulipad,
>> create on a windows xp partition a file for example äöü.txt (latin-1 or cp1252),
>> can ulipad show this file on linux correctly in your file open dialog?
>>
>> Do you have otherwise a function or plugin dealing with showing filenames
>> in wxpython self? This would be very interesting for me! :)
>>
>
>For filename, I did nothing, and I only use wxPython to open a file.
>So it's not problem as long as wxPython can find it.
>
>And if you said what about the file content, ulipad can auto detect
>utf-8 encoding, if it failed, it'll use locale.getdefaultlocale() to
>get the default locale encoding, if the local encoding still
>none-exist, it'll use sys.getfilesystemencoding. But if the detected
>encoding is not same as file encoding, ulipad will fail to open the
>file. But it support custom encoding selection, so you can try to
>specify the encoding name, then try to open the file.
Thank you for your explanation!
--
Franz Steinhaeusler
More information about the wxpython-users
mailing list