lib/ezutils/classes/ezuri.php
public static function decodeIRI( $str )
    {
        $str = urldecode( $str ); // Decode %xx entries, we now have a utf-8 string
        $codec = eZTextCodec::instance( 'utf-8' ); // Make sure string is converted from utf-8 to internal encoding
        return $codec->convertString( $str );
    }
public static function decodeIRI( $str )
    {
        $str = urldecode( $str ); // Decode %xx entries, we now have a utf-8 string
        $codec = eZTextCodec::instance( 'utf-8' ); // Make sure string is converted from utf-8 to internal encoding
        return $codec->convertString( $str );
    }
public static function decodeIRI ( $ str ) { $ str = urldecode ( $ str ) ; // Decode %xx entries, we now have a utf-8 string $ codec = eZTextCodec :: instance ( 'utf-8' ) ; // Make sure string is converted from utf-8 to internal encoding return $ codec -> convertString ( $ str ) ; }
Decodes a path string which is in IRI format and returns the new path in the internal encoding.

More info on IRI here: {@link http://www.w3.org/International/O-URL-and-ident.html}

@param string $str the string to decode
@return string decoded version of $str
Decodes a path string which is in IRI format and returns the new path in the internal encoding .