# _codecs - pydoc - phpman

Help on built-in module _codecs:

## NAME
    _codecs

## FUNCTIONS
### ascii_decode

### ascii_encode

### charmap_build

### charmap_decode

### charmap_encode

### decode
        Decodes obj using the codec registered for encoding.

        Default encoding is 'utf-8'.  errors may be given to set a
        different error handling scheme.  Default is 'strict' meaning that encoding
        errors raise a ValueError.  Other possible values are 'ignore', 'replace'
        and 'backslashreplace' as well as any other name registered with
        codecs.register_error that can handle ValueErrors.

### encode
        Encodes obj using the codec registered for encoding.

        The default encoding is 'utf-8'.  errors may be given to set a
        different error handling scheme.  Default is 'strict' meaning that encoding
        errors raise a ValueError.  Other possible values are 'ignore', 'replace'
        and 'backslashreplace' as well as any other name registered with
        codecs.register_error that can handle ValueErrors.

### escape_decode

### escape_encode

### latin_1_decode

### latin_1_encode

### lookup
        Looks up a codec tuple in the Python codec registry and returns a CodecInfo object.

### lookup_error
        lookup_error(errors) -> handler

        Return the error handler for the specified error handling name or raise a
        LookupError, if no handler exists under this name.

### raw_unicode_escape_decode

### raw_unicode_escape_encode

### readbuffer_encode

### register
        Register a codec search function.

        Search functions are expected to take one argument, the encoding name in
        all lower case letters, and either return None, or a tuple of functions
        (encoder, decoder, stream_reader, stream_writer) (or a CodecInfo object).

### register_error
        Register the specified error handler under the name errors.

        handler must be a callable object, that will be called with an exception
        instance containing information about the location of the encoding/decoding
        error and must return a (replacement, new position) tuple.

### unicode_escape_decode

### unicode_escape_encode

### unregister
        Unregister a codec search function and clear the registry's cache.

        If the search function is not registered, do nothing.

### utf_16_be_decode

### utf_16_be_encode

### utf_16_decode

### utf_16_encode

### utf_16_ex_decode

### utf_16_le_decode

### utf_16_le_encode

### utf_32_be_decode

### utf_32_be_encode

### utf_32_decode

### utf_32_encode

### utf_32_ex_decode

### utf_32_le_decode

### utf_32_le_encode

### utf_7_decode

### utf_7_encode

### utf_8_decode

### utf_8_encode

## FILE
    (built-in)


