def decode(s):
    """Return the decoding of `s` based on the effective encoding.

        The effective encoding is determined by the return from the
        `getCodec()` method.

        `ValueError` is raised if no codec can be found for the
        effective charset.

        """
