> can someone quickly tell me what the encoding of __file__ is? I can't
> find it in the documentation.
> 
> BTW, I'm using Python 2.5.1 on WIndows XP and Vista.

It's platform-specific - the same encoding that is used for file names
(i.e. sys.getfilesystemencoding()). On Windows, it will be "mbcs", which
in turn is installation-specific - on Western European/US installations,
it's "windows-1252".

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to