Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Russian character
Message
De
22/03/2021 04:49:21
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
21/03/2021 23:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01679204
Message ID:
01679211
Vues:
56
>My client wants to input the Russian characters, such as БПЭ3-1003ПТМ
>but when I copy & paste, it becomes ???3-1003???
>is that a way to accept that characters?

Fox is not Unicode, and the clipboard is under influence of whatever windowses think is the proper character set for the current machine.

Assuming that VFP's codepage is set to 1251, you still need to set the system codepage for non-unicode apps to 1251. Requires a reboot and can't be set per user, it's for the whole machine. Of course, then you'll have trouble with other codepages. Well at least your other codepage is 1252, which is a subset of every other one, so this shouldn't be a problem. The problem would be if you wanted to do both, say, polish and russian on the same box - you couldn't possibly keep them in the same table, unless you keep them stored as binary, in UTF8 or something, and manage the input and display with lots of acrobatics.

IOW, the best you can do is to use one character set, and languages which can use that character set, which is mostly one western and all those native to that set.

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