Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Collating sequence 1

Status
Not open for further replies.

vanni75

Programmer
Nov 27, 2002
29
BE
Hi,

I'm from belgium and want to create a table where I can put Russian text in it. The problem is that I can create a table with codepage 1251 but I can't set the collate sequence to Russian .
Collating sequence "RUSSIAN" is not found (Error 1915)

When i copy and paste the russian text into the table all I get is questionmarks.

Can somebody help me

many thx

G
 


You may need a later version of VFP. I'm currently using 5 & 7. SET COLLATE TO RUSSIAN is available in 7, not in 5.

Jim
 
hi,

thx but I'm using VFP 7.

Someone else ??

G
 
Russian is specifically listed as available in the Help. It also says:

When using the SET COLLATE TO command, you may receive the error &quot;Collating sequence <sequencename> is not found.&quot; This occurs when you attempt to use a collating sequence that is not supported by the current code page. To prevent this error, you must specify a compatible code page in your Visual FoxPro configuration file. For instance, you may see the error &quot;Collating sequence 'CZECH' is not found&quot; when issuing the command SET COLLATE TO 'CZECH'. To enable support for the Czech collating sequence, add the following line to your config.fpw file and restart Visual FoxPro:

CODEPAGE = 1250

Jim
 
I have tried this but still I can't copy and paste russian text into the memofield. It still showes ??????? in it.

Do you know the solution. HAs anyone a practical example for this problem. You can send the code or table to verynice70@hotmail.Com

Thx for trying...

Greetz

G.
 
Vanni,

This is not a collating sequence issue. If you can't see the Russian text, changing the collating sequence will not make any difference.

Could it be that the code page of the table does not match the code page of your Visual Foxpro session? You can check that by using CPCODEPAGE() and CPDBF(). If they don't match, put a CODEPAGE = line in your Config file, specifying the codepage of the DBF.

I assume that you are using a Russian font to display the text?

Mike


Mike Lewis
Edinburgh, Scotland
 
Hi,

My codepage of the table and the session are both the same 1251. Must I use a russian font to display it ?

Thx
 
Hi,

which font do I have to use then?

thx!

G
 
Many thx for the help and the great link..

I'll try this out...

G
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top