×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Visual Fox Pro on Windows 10

Visual Fox Pro on Windows 10

Visual Fox Pro on Windows 10

(OP)
Hi,

I used to work with Visual FoxPro 9.0 on Windows 7. It was fine for me, at least it did what I wanted.
Recently, I upgraded OS to Windows 10 and installed VFP 9.0 and SP2. The dbf files have cyrillic characters, however, now with Windows 10 VFP does not recognise cyrillic characters anymore.
I am a new user for VFP, may be I installed it incorrectly, or I should deal with encoding... Can you please help me to fix it?

Thanks!

RE: Visual Fox Pro on Windows 10

It sounds like you have a Unicode issue. You need to set the character set to the right Unicode value.
Not sure what that is off the top of my head, but have a look in that area.

Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS

"Everything should be made as simple as possible, and no simpler."hammer

RE: Visual Fox Pro on Windows 10

Did you install an English Windows 10? Did you set your Windows to your language?

While VFP9 is English only within the IDE, it should default to a codepage that'll let you create new DBFs in an ANSI codepage that supports the Cyrillic alphabet and therefore matches the OS language. The HOME() folder contains some resource DLLs for the IDE other than VFP9ENU.DLL (note without the "R" for runtime), but not a VFP9RUS.DLL.

At runtime of your compiled EXEs will take a runtime resource DLL for the language (when you provide them) as VFP9RENU.DLL (note with "R") and several others, like VFP9RRUS.DLL, but within the IDE the localization limits itself to allowing a supported ANSI Codepage for your language. In Western European Windows versions and I guess also in US Windows that's typically Codepage 1252. For Slavic Languages or Russian, it should be 1251.

What's displayed when you do this?

CODE

? Cpcurrent()
? Set("Cpcompile") 

VFP would adapt to your Windows if you look for the Language Pack for your Country and install that. If that doesn't help, perhaps a Russian VFP developer can tell you what to change, you can enforce the codepage VFP uses with a config.fpw file that contains CODEPAGE=1251, without such a config VFP will pick one automatic, which is like configuring CODEPAGE=AUTO there.

Bye, Olaf.

Olaf Doschke Software Engineering
https://www.doschke.name

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close