I have following brand name which contains Latin character. How to convert the brand name into English?
Latin characterise string:
Want to convert into -
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
<?php $string = 'Höhle'; echo Normalizer::normalize($string); ?>
You can convert the latin-chars into standard english chars using transliterator_transliterate Library. you mush have intl PHP extension installed, which is also mandatory for Magento.
$anyLatinString = utf8_encode('RéVive LeurCrème'); $transliteratedString = transliterator_transliterate('Any-Latin; Latin-ASCII;', $anyLatinString); // returns Revive LeurCreme