1

I have following brand name which contains Latin character. How to convert the brand name into English?

Latin characterise string: RéVive LeurCrème

Want to convert into - Revive LeurCreme

1

Use Normalizer PHP Function

<?php
$string = 'Höhle';
echo Normalizer::normalize($string);
?>
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.