Subversion Repositories oidplus

Rev

Rev 1043 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1043 Rev 1045
Line 77... Line 77...
77
        array('μ', 's', 'ι',        'σ', 'β',        'θ',        'φ',        'π',        'κ',        'ρ',        'ε',        "\xE1\xB9\xA1", 'ι'),
77
        array('μ', 's', 'ι',        'σ', 'β',        'θ',        'φ',        'π',        'κ',        'ρ',        'ε',        "\xE1\xB9\xA1", 'ι'),
78
    );
78
    );
79
 
79
 
80
    public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null)
80
    public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null)
81
    {
81
    {
82
        if (\is_array($fromEncoding) || false !== strpos($fromEncoding, ',')) {
82
        if (\is_array($fromEncoding) || (null !== $fromEncoding && false !== strpos($fromEncoding, ','))) {
83
            $fromEncoding = self::mb_detect_encoding($s, $fromEncoding);
83
            $fromEncoding = self::mb_detect_encoding($s, $fromEncoding);
84
        } else {
84
        } else {
85
            $fromEncoding = self::getEncoding($fromEncoding);
85
            $fromEncoding = self::getEncoding($fromEncoding);
86
        }
86
        }
87
 
87