core/oxpspaymorroweshopdataprovider.php
public static function toUtf( $sSting, $mLimitLength = null )
    {
        if ( !oxRegistry::getConfig()->getConfigParam( 'iUtfMode' ) ) {
            $sSting = iconv( 'ISO-8859-15', 'UTF-8', $sSting );
        }

        if ( is_integer( $mLimitLength ) and $mLimitLength > 0 ) {
            $sSting = mb_substr( $sSting, 0, $mLimitLength, 'UTF-8' );
        }

        return $sSting;
    }
public static function toUtf( $sSting, $mLimitLength = null )
    {
        if ( !oxRegistry::getConfig()->getConfigParam( 'iUtfMode' ) ) {
            $sSting = iconv( 'ISO-8859-15', 'UTF-8', $sSting );
        }

        if ( is_integer( $mLimitLength ) and $mLimitLength > 0 ) {
            $sSting = mb_substr( $sSting, 0, $mLimitLength, 'UTF-8' );
        }

        return $sSting;
    }
public static function toUtf ( $ sSting , $ mLimitLength = null ) { if ( ! oxRegistry :: getConfig ( ) -> getConfigParam ( 'iUtfMode' ) ) { $ sSting = iconv ( 'ISO-8859-15' , 'UTF-8' , $ sSting ) ; } if ( is_integer ( $ mLimitLength ) and $ mLimitLength > 0 ) { $ sSting = mb_substr ( $ sSting , 0 , $ mLimitLength , 'UTF-8' ) ; } return $ sSting ; }
Convert default OXID encoding ISO-8859-15 to UTF-8.
Additionally it checks if shop it not on UTF-8 encoding already.
Optionally crops string to fit provided length.

@codeCoverageIgnore

@param string   $sSting
@param null|int $mLimitLength

@return string
Convert default OXID encoding ISO - 8859 - 15 to UTF - 8 . Additionally it checks if shop it not on UTF - 8 encoding already . Optionally crops string to fit provided length .