| Home | Trees | Index | Help |
|---|
| Package svnmailer :: Module util :: Class _LocaleFile |
|
object --+
|
_LocaleFile
| Method Summary | |
|---|---|
Initialization | |
| basestring |
Transform a file name from locale repr to unicode (hopefully) |
| basestring |
Transforms a file name to the locale representation |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Instance Variable Summary | |
|---|---|
| str | from_enc: The default encoding of filenames coming from
the environment |
| str | to_enc: The default encoding of filenames written to disk |
| bool | unicode_system: Does the system support unicode file names? |
| Method Details |
|---|
__init__(self,
_locale=<module 'locale' from '/usr/lib/python2.3/locale.pyc'>,
_os=<module 'os' from '/usr/lib/python2.3/os.pyc'>,
_sys=<module 'sys' (built-in)>)
Initialization |
fromLocale(self, name, locale_enc=None)Transform a file name from locale repr to unicode (hopefully)
|
toLocale(self, name, name_enc=None, locale_enc=None, force=False)Transforms a file name to the locale representation
|
| Instance Variable Details |
|---|
from_encThe default encoding of filenames coming from the environment
|
to_encThe default encoding of filenames written to disk
|
unicode_systemDoes the system support unicode file names?
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.0 on Sun Sep 25 20:49:06 2005 | http://epydoc.sf.net |