encodings.euc_jp
index
/usr/local/lib/python2.5/encodings/euc_jp.py
Module Docs

# euc_jp.py: Python Unicode Codec for EUC_JP
#
# Written by Hye-Shik Chang <perky@FreeBSD.org>
#

 
Modules
       
_codecs_jp
codecs
_multibytecodec

 
Classes
       
__builtin__.MultibyteIncrementalDecoder(__builtin__.object)
IncrementalDecoder(__builtin__.MultibyteIncrementalDecoder, codecs.IncrementalDecoder)
__builtin__.MultibyteIncrementalEncoder(__builtin__.object)
IncrementalEncoder(__builtin__.MultibyteIncrementalEncoder, codecs.IncrementalEncoder)
codecs.Codec
Codec
StreamReader(Codec, __builtin__.MultibyteStreamReader, codecs.StreamReader)
StreamWriter(Codec, __builtin__.MultibyteStreamWriter, codecs.StreamWriter)
codecs.IncrementalDecoder(__builtin__.object)
IncrementalDecoder(__builtin__.MultibyteIncrementalDecoder, codecs.IncrementalDecoder)
codecs.IncrementalEncoder(__builtin__.object)
IncrementalEncoder(__builtin__.MultibyteIncrementalEncoder, codecs.IncrementalEncoder)

 
class Codec(codecs.Codec)
     Data and other attributes defined here:
decode = <built-in method decode of MultibyteCodec object at 0xb6909050>
I.decode(string[, errors]) -> (unicodeobject, length consumed)
 
Decodes `string' using I, an MultibyteCodec instance. errors may be given
to set a different error handling scheme. Default is 'strict' meaning
that encoding errors raise a UnicodeDecodeError. Other possible values
are 'ignore' and 'replace' as well as any other name registerd with
codecs.register_error that is able to handle UnicodeDecodeErrors.
encode = <built-in method encode of MultibyteCodec object at 0xb6909050>
I.encode(unicode[, errors]) -> (string, length consumed)
 
Return an encoded string version of `unicode'. errors may be given to
set a different error handling scheme. Default is 'strict' meaning that
encoding errors raise a UnicodeEncodeError. Other possible values are
'ignore', 'replace' and 'xmlcharrefreplace' as well as any other name
registered with codecs.register_error that can handle UnicodeEncodeErrors.

 
class IncrementalDecoder(__builtin__.MultibyteIncrementalDecoder, codecs.IncrementalDecoder)
    
Method resolution order:
IncrementalDecoder
__builtin__.MultibyteIncrementalDecoder
codecs.IncrementalDecoder
__builtin__.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
codec = <MultibyteCodec object at 0xb6909050>

Methods inherited from __builtin__.MultibyteIncrementalDecoder:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
decode(...)
reset(...)

Data descriptors inherited from __builtin__.MultibyteIncrementalDecoder:
errors
how to treat errors

Data and other attributes inherited from __builtin__.MultibyteIncrementalDecoder:
__new__ = <built-in method __new__ of type object at 0x7d6780>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class IncrementalEncoder(__builtin__.MultibyteIncrementalEncoder, codecs.IncrementalEncoder)
    
Method resolution order:
IncrementalEncoder
__builtin__.MultibyteIncrementalEncoder
codecs.IncrementalEncoder
__builtin__.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
codec = <MultibyteCodec object at 0xb6909050>

Methods inherited from __builtin__.MultibyteIncrementalEncoder:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
encode(...)
reset(...)

Data descriptors inherited from __builtin__.MultibyteIncrementalEncoder:
errors
how to treat errors

Data and other attributes inherited from __builtin__.MultibyteIncrementalEncoder:
__new__ = <built-in method __new__ of type object at 0x7d66c0>
T.__new__(S, ...) -> a new object with type S, a subtype of T

 
class StreamReader(Codec, __builtin__.MultibyteStreamReader, codecs.StreamReader)
    
Method resolution order:
StreamReader
Codec
__builtin__.MultibyteStreamReader
__builtin__.object
codecs.StreamReader
codecs.Codec

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
codec = <MultibyteCodec object at 0xb6909050>

Data and other attributes inherited from Codec:
decode = <built-in method decode of MultibyteCodec object at 0xb6909050>
I.decode(string[, errors]) -> (unicodeobject, length consumed)
 
Decodes `string' using I, an MultibyteCodec instance. errors may be given
to set a different error handling scheme. Default is 'strict' meaning
that encoding errors raise a UnicodeDecodeError. Other possible values
are 'ignore' and 'replace' as well as any other name registerd with
codecs.register_error that is able to handle UnicodeDecodeErrors.
encode = <built-in method encode of MultibyteCodec object at 0xb6909050>
I.encode(unicode[, errors]) -> (string, length consumed)
 
Return an encoded string version of `unicode'. errors may be given to
set a different error handling scheme. Default is 'strict' meaning that
encoding errors raise a UnicodeEncodeError. Other possible values are
'ignore', 'replace' and 'xmlcharrefreplace' as well as any other name
registered with codecs.register_error that can handle UnicodeEncodeErrors.

Methods inherited from __builtin__.MultibyteStreamReader:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
read(...)
readline(...)
readlines(...)
reset(...)

Data descriptors inherited from __builtin__.MultibyteStreamReader:
errors
how to treat errors
stream

Data and other attributes inherited from __builtin__.MultibyteStreamReader:
__new__ = <built-in method __new__ of type object at 0x7d6840>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from codecs.StreamReader:
__enter__(self)
__exit__(self, type, value, tb)
__getattr__(self, name, getattr=<built-in function getattr>)
Inherit all other methods from the underlying stream.
__iter__(self)
next(self)
Return the next decoded line from the input stream.
seek(self, offset, whence=0)
Set the input stream's current position.
 
Resets the codec buffers used for keeping state.

 
class StreamWriter(Codec, __builtin__.MultibyteStreamWriter, codecs.StreamWriter)
    
Method resolution order:
StreamWriter
Codec
__builtin__.MultibyteStreamWriter
__builtin__.object
codecs.StreamWriter
codecs.Codec

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
codec = <MultibyteCodec object at 0xb6909050>

Data and other attributes inherited from Codec:
decode = <built-in method decode of MultibyteCodec object at 0xb6909050>
I.decode(string[, errors]) -> (unicodeobject, length consumed)
 
Decodes `string' using I, an MultibyteCodec instance. errors may be given
to set a different error handling scheme. Default is 'strict' meaning
that encoding errors raise a UnicodeDecodeError. Other possible values
are 'ignore' and 'replace' as well as any other name registerd with
codecs.register_error that is able to handle UnicodeDecodeErrors.
encode = <built-in method encode of MultibyteCodec object at 0xb6909050>
I.encode(unicode[, errors]) -> (string, length consumed)
 
Return an encoded string version of `unicode'. errors may be given to
set a different error handling scheme. Default is 'strict' meaning that
encoding errors raise a UnicodeEncodeError. Other possible values are
'ignore', 'replace' and 'xmlcharrefreplace' as well as any other name
registered with codecs.register_error that can handle UnicodeEncodeErrors.

Methods inherited from __builtin__.MultibyteStreamWriter:
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
reset(...)
write(...)
writelines(...)

Data descriptors inherited from __builtin__.MultibyteStreamWriter:
errors
how to treat errors
stream

Data and other attributes inherited from __builtin__.MultibyteStreamWriter:
__new__ = <built-in method __new__ of type object at 0x7d6900>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from codecs.StreamWriter:
__enter__(self)
__exit__(self, type, value, tb)
__getattr__(self, name, getattr=<built-in function getattr>)
Inherit all other methods from the underlying stream.

 
Functions
       
getregentry()

 
Data
        codec = <MultibyteCodec object at 0xb6909050>