Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code Pages don't seem to work
Message
De
25/06/1997 12:08:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
25/06/1997 11:22:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037713
Message ID:
00037718
Vues:
27
>I am reposting this message as I don't see it on the message board from the last time I posted it.
>
>
>I am trying to get a DBF to display using a different code page. No matter what I try, I can't get the text to display any differently in a grid or browse.
>
>I tried setting the code page of the DBF to 1253 (Greek Windows) using CPZERO utility that ships with VFP 3.0. It changes the code page but when I view the DBF it looks normal (Windows ANSI 1252).
>
>I tried setting the code page of the DBF to 0 and then setting CODEPAGE=1253 in config.fpw. It still looks normal (Windows ANSI). Shouldn't I see a change to the displayed characters when I switch to a foreign language?
>
>This doesn't seem to be working and I'm sure I'm doing something wrong.
>Can anyone help?
>Thanks
>BJ

Codepages work quite well. I use codepage 857 and 1254, DOS and WINDOWS ANSI Turkish respectively. Whether entry is done at DOS or WINDOWS you get the right view. In fact 8 of our characters have different codes in DOS and WINDOWS. I think you should also set your Windows to Greek mode to see the difference. Maybe you won't able to do it, if your Windows is not Pan European edition. In this case I could try it for you. Just let me know. The rest is just apperance, set your DBF to codepage 1253 and add CODEPAGE=1253 in config.fpw (do NOT trust CODEPAGE=AUTO !). If you need my talk address is cetin@cetin.imst.deu.edu.tr (02:00 am to 01:00 pm EST).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform