Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Russian characters
Message
De
05/02/2014 05:00:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/02/2014 11:08:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01593124
Message ID:
01593253
Vues:
35
>i am trying to enter russian characters into my table,
>
>i have given the command
>
>codepage=1250 in config.fpw

That's central european set, i.e. latin with šđčćžöüóúőpŁłéáű etc. For cyrillic, the codepage is 1251.

>and in my startup main program
>
>
>set collate="RUSSIAN"
>
Don't. Collation should be set for certain indexes individually, where you need them - on names etc - not on numeric or date fields. Probably can't be done anyway. Indexing a non-character field on anything but machine sequence is, if not impossible, leading to errors.

>but i still get ???? instead of the russian characters

Get it where? You should be able to set the .FontCharSet for any control, including _screen. Mind you, this does not include form captions, as they are governed by the current machine's character set for non-unicode programs, which is set somewhere in the control panel, regional settings or some such, depending on your version of windows. If there's a mismatch there, you'll get question marks or all accented characters (because the cyrillic set is, in cp1251, all in the upper half, which maps to these accented things in other codepages).

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