Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Show Greek Characters
Message
From
14/08/2003 10:46:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/08/2003 21:23:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00820002
Message ID:
00820145
Views:
18
>Hi all,
>
>I have a VFP 7 app running on an English Version of Windows XP and I'm trying to display Greek Characters in a textbox. I have installed Greek language support and can get the greek letters to display in notepad and pretty much any other windows app, but not in my VFP app.
>
>Firstly, can anyone tell me how to display the Greek characters in any VFP object (on the screen)??
>
>Secondly, how do I store that in a table (as Greek).

David,
It's just a display problem for you. They'd show correctly on a system where Greek is set as default.
As Emre said you could switch your language to Greek from control panel (ie: I use an English version of XP and if I ever need to see what I type in Turkish correct I switch to Turkish (and reboot) - luckily I'm accustomed to read Turkish chars even when they're displaying wrong:)

For your files you could use 'AS nCodepage' additonal clause. For tables you could use home()+'tools\cpzero\cpzero' to update any codepage (remember most of the files in VFP are tables like dbf, scx, vcx, mnx, frx).

If you continue to work in English setting, modify your home()+'config.fpw' to have a line :

Codepage=1254 && Use nCodepage for Greek - 1254 is Turkish codepage

That makes it easy to work with files w/o explicitly specifyin 'as nCodepage'.

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
Previous
Reply
Map
View

Click here to load this message in the networking platform