LanguageConverter, the class that in charge of converting text between Variants was introduced a while ago, but the use of the deprecated method like:
::getVariants();
::getConvRuleTitle();
::getPreferredVariant();
::getDefaultVariant();
::getURLVariant();
::autoConvert( $text, $toVariant = false );