I don't use french codepage but afaik in harboru is same

codepage French is 850 
request simbol HB_CODEPAGE_FR 
codepage id "FR" 

Can isolate a sample where work in clipper and not in harbour

   REQUEST HB_CODEPAGE_FR
   PROC MAIN
      HB_SetCodePage( "FR" )
      ? HB_SetCodePage()               // result: FR
      ? upper("ê") 
      ? upper("à")   
      ?  "ê") > "à")   
   RETURN

Massimo Belgrano




-----Messaggio originale-----
Da: [EMAIL PROTECTED] per conto di [email protected]
Inviato: lun 30/06/2008 10.31
A: [email protected]
Oggetto: [Harbour-users] French Collation error 
 
Hello Harbour Developers,

I use since yesterday the last upgrade of FWH.
Compile with Harbour and Borland.

In the french language, we have many
possibles signs on letters : a "e" can also be "è",
or "é", or "ê", or others... This is not simple
to learn French because this (and not only).

The french collation provided by C.A. Nantucket Clipper
is useful for the Clipper function named UPPER().

With Clipper :
UPPER("ê") = "E"
UPPER("à") = "A"

This work perfectly with Fivewin for Clipper,
because UPPER() is a Clipper function.

But this not work with Harbour.
Is existing a way to correct this ?
I not use ADS for the moment in my tests.

Note : with these command lines, there is no change :

REQUEST HB_LANG_FR
REQUEST HB_CODEPAGE_FR

HB_LangSelect("FR")
HB_SetCodePage("FR")
SET(_SET_LANGUAGE, "FR")

Thank for your help.

_______________________________________________
Harbour-users mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

_______________________________________________
Harbour-users mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour-users

Reply via email to