Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cyrilic to latinic
Message
From
23/10/2021 13:07:57
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/10/2021 11:07:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01682589
Message ID:
01682592
Views:
71
>I need to do it through a program when read file with fopen() and fget() etc. In attachment is a sample file. Question is how to recognize (and convert) row 4 "Нови Београд" to "Novi Beograd"?

Well convert everything, as a single string - latinic will not be changed by chrtran(). In bajagi code:

c=filetostr("from_file_cyr.txt")
lcOut=chrtran(c, lcCyr, lcLat)
lcOut=strtran(lcOut, "Љ", "LJ")
... other pairs here...
strtofile(lcOut, "to_file_lat.txt")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform