Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Russian characters
Message
De
27/10/2010 08:34:30
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01487097
Message ID:
01487123
Vues:
41
>My code is
>
>newchars=strconv(a,10,1251,1)
>
>where a is an excel cell with a value of Присяжнюк Александр
>
>Can you help please

My serious doubts that you can implement the Russian rules of translation into Latin. First of all, the e umlaut is always written without it, so it may translate as a ye or e or yo or o. Even if you managed to translate to utf-8 first, you'd then have to translate each double character into something. You may end with about 80 to 120 strtran() functions applied in some order of precedence... and even then I'm not sure the results would adhere to the rules correctly. And then there are doubts whether the results would pronounce anywhere near correctly in English. If it's for addresses only, it may pass.

You may look for Russian to Latin transcription rules, there's an old standard developed in USSR that must be hanging around somewhere.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform