Solved

Why does VFP ver9 have language Seq  Problem

Posted on 2010-11-25
7
802 Views
Last Modified: 2012-08-13
When I run certain programs in FoxPro version 9 on my laptop using Windows 7 OS I get an error message saying "Collating sequence 'Japanese' is not found"
I have changed all the language settings including keyboard and tried all combinations of language settings but still the problem persists. Is this a problem inherant with compatability of VFP on Windows 7.? If so why would Microsoft not fix it considering they own both products.
Or am I missing something?
Look forward to your kind help.
0
Comment
Question by:racepro
  • 3
  • 2
  • 2
7 Comments
 
LVL 41

Accepted Solution

by:
pcelba earned 250 total points
ID: 34214675
This is not problem of VFP but problem of "certain programs" in conjunction with Windows settings.

If some application is trying to set the Japanese collation sequence then it obviously needs Japanese environment set for non-Unicode programs.

So, start the Control Panel Regional settings screen and look for "Language for non-Unicode programs". If you set it to Japanese then described problem should disappear.

Above settings will allow the Japanese Code page detection by VFP and then Japanese collation does not bomb your programs. You may check the Code page in VFP by CPCURRENT() function. If this function returns some obvious value like 1252 then Japanese collation is not available.

Another possibility is to write Japanese Code page directly into the CONFIG.FPW file.
0
 
LVL 27

Assisted Solution

by:CaptainCyril
CaptainCyril earned 250 total points
ID: 34215653
You need to load the Japanese and other "Eastern Languages" in the Control Panel as stated by pcelba. I don't know about Windows 7 but I had to do it in Windows XP.

Playing around with STRCONV and CodePages, I could do that in Windows Vista without changing anything in Regional Settings of Control Panel. I could import any language I wanted and convert it to Unicode internally in FoxPro and I can only display this Unicode as it is in a WebBrowser on a FoxPro Form or by exporting it to Excel, Word or PowerPoint. If I wished to display it in a FoxPro Grid, I had to convert it to the specific code pages but I did not try Japanese or any other Eastern Language on this. It worked just great with Arabic and Russian for me.
0
 

Author Comment

by:racepro
ID: 34238580
I have tried all possible options with the language settings.all to no avail.  My programmer is now involved and we have installed Japanese Windows and now awaiting him to complete some other software installations and then we'll try again.
Thanks for your help but somehow it has proved a tricky problem todate.
I'll keep you posted on outcome
Ian
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 27

Expert Comment

by:CaptainCyril
ID: 34238636
Can you please explain where you have Japanese data? Maybe we can help you further.

I for one import them from Excel files (Unicode) and store them in memo fields inside FoxPro and I can display them on any windows or office document as Unicode.

FoxPro does not handle Unicode. You need to convert them from one format to another in order to manipulate them. Some of my users type in Arabic so I have put and Microsoft RTF control for them which uses Microsoft Word to convert the string to Unicode from RTF Format. Once in Unicode, I can export to Word, Excel and PowerPoint and even Internet Explorer without the system needing to be in Arabic. It can be just regular US-English with the code-page of Arabic installed.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 34238642
The Japanese language for non-Unicode programs seting works in English Windows w/o any problem. FoxPro then starts with CP 934 and Japanese characters are stored in two bytes (as double byte characters). DBF table must have Japanese CP stored in its heading, of course.

No need to install Japanese Windows.
0
 
LVL 41

Expert Comment

by:pcelba
ID: 34238672
To process Unicode is also possible as stated by Captain but it requires some additional programming whereas double byte support is native for VFP.

It depends on your VFP applications what approach to use in this case.

Unicode is the only future, of course.
0
 

Author Closing Comment

by:racepro
ID: 34269354
Thanks guys for your assistance
However there appears to be a comapability issue. My programmer has tried everything including your kind suggestions all to no avail. Furthermore he did find an article on the net confirming Japanese written programs often don:t work when using Windows 7 and VFP ver 9
Thanks again.
Ian
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now