On Wed, 04 Feb 2009, Miguel Angel Marchuet wrote:

Hi Miguel,

>>> (Foxpro) Code page: These values follow the DOS / Windows Code Page values.
>>> Value       Description     Code page
>>> 01h         DOS USA code page 437
>>> 02h         DOS Multilingual        code page 850
>>> 03h         Windows ANSI    code page 1252
>>> 04h         Standard Macintosh
>>> 64h         EE MS-DOS       code page 852
>>> 65h         Nordic MS-DOS   code page 865
>>> 66h         Russian MS-DOS  code page 866
>>> 67h         Icelandic MS-DOS
>>> 68h         Kamenicky (Czech) MS-DOS
>>> 69h         Mazovia (Polish) MS-DOS
>>> 6Ah         Greek MS-DOS (437G)
>>> 6Bh         Turkish MS-DOS
>>> 96h         Russian Macintosh
>>> 97h         Eastern European Macintosh
>>> 98h         Greek Macintosh
>>> C8h         Windows EE      code page 1250
>>> C9h         Russian Windows
>>> CAh         Turkish Windows
>>> CBh         Greek Windows
> this is full table supporte for old foxpro not vfp ( see below for vfp)
> This are all codepages supported by vfp:
> Code page     Platform                Code page identifier
> 437           U.S. MS-DOS             x01
> 620 *                 Mazovia (Polish) MS-DOS x69
> 737 *                 Greek MS-DOS (437G)     x6A
> 850           International MS-DOS    x02
> 852           Eastern European MS-DOS x64
> 857           Turkish MS-DOS          x6B
> 861           Icelandic MS-DOS        x67
> 865           Nordic MS-DOS           x66
> 866           Russian MS-DOS          x65
> 874           Thai Windows            x7C
> 895 *                 Kamenicky (Czech) MS-DOS x68
> 932           Japanese Windows        x7B
> 936           Chinese (PRC, Singapore) Windows        x7A
> 949           Korean Windows          x79
> 950           Chinese (Hong Kong SAR, Taiwan) Windows         x78
> 1250          Eastern European Windows xC8
> 1251          Russian Windows         xC9
> 1252          Windows ANSI            x03
> 1253          Greek Windows           xCB
> 1254          Turkish Windows         xCA
> 1255          Hebrew Windows          x7D
> 1256          Arabic Windows          x7E
> 10000                 Standard Macintosh      x04
> 10006                 Greek Macintosh         x98
> 10007 *       Russian Macintosh       x96
> 10029                 Macintosh EE            x97
> * Not detected when you include CODEPAGE=AUTO in your configuration file.

Looks that VFP uses the same table with few new entries:
   78h  Chinese (Hong Kong SAR, Taiwan) Windows (950)
   79h  Korean Windows (949)
   8Ah  Chinese (PRC, Singapore) Windows (936)
   7Bh  Japanese Windows (932)
   7Ch  Thai Windows (874)
   7Dh  Hebrew Windows (1255)
   7Eh  Arabic Windows (1256)

I guess that misplaced numbers for:
   65h  Nordic MS-DOS   code page 865
   66h  Russian MS-DOS  code page 866
is a typo and only one of the above versions is correct (FP or VFP)

> this codes are for old foxpro dbf not for current vfp

OK but VFP uses the same table with few new entries.

> thks, i found one problem, when users of ourxdbu try to write code
> using BlobImport, macro evaluator not found this function :(, I think
> can be good idea to add synonim fo DbFileGet and DbFilePut too as
> BlobImport, BlobExport and others to help macroevaluator to solve this
> type of code, of course i can say too users, that BlobImport is not a
> function. :(
> What do you think?

This sounds reasonable but in such case all blob*() functions should be
in separated file and not mixed with other RDD functions.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to