2007-04-18 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour/source/codepage/cp_tpl.c
+ Added NOTE about the fact that hb_Translate()
(and hb_cdpTranslate()) would only work properly
if all codepages for the same language are using the
exact same number of lowercase/uppercase cp chars
in the exact same order.
* harbour/source/codepage/Makefile
* harbour/common.mak
* harbour/source/codepage/cphu852.c
* harbour/source/codepage/cphu852s.c
* harbour/source/codepage/cphuiso.c
+ harbour/source/codepage/cphuisos.c
* harbour/source/codepage/cphuwin.c
+ harbour/source/codepage/cphuwins.c
! Synced HU WIN and HU ISO codepage lower/uppercase
strings with HU 852, so that hb_Translate() works
properly. (this means there are now several duplicate
chars included in the WIN/ISO versions, along with
a non-HU char, all just needed to stay compatible with
original CA-Cl*pper HU/852 index ordering and keep
hb_Translate() working at the same time.)
IMO, we'd need to introduce a separate "collation"
string in each cp file to detach index ordering
from upper/lowercase and codepage translation without
any hacks, since as this example shows these two
are not always in sync. (or, as an alternative we might
want to make codepage translation more sophisticated,
like converting first to unicode and convert back to
the other codepage from unicode, but that leads a bit
further.). (If I'm missing something, pls don't hesitate
to clarify)
+ Added SixDriver compatible HU ISO/WIN codepage files
for the reasons described above.
* harbour/include/hbapicdp.h
* harbour/source/rtl/cdpapi.c
* harbour/source/codepage/cpbg866.c
* harbour/source/codepage/cpbgiso.c
* harbour/source/codepage/cpbgwin.c
* harbour/source/codepage/cpcs852.c
* harbour/source/codepage/cpcsiso.c
* harbour/source/codepage/cpcskam.c
* harbour/source/codepage/cpcswin.c
* harbour/source/codepage/cpeldos.c
* harbour/source/codepage/cpelwin.c
* harbour/source/codepage/cpesdos.c
* harbour/source/codepage/cpesmwi.c
* harbour/source/codepage/cpeswin.c
* harbour/source/codepage/cpfrdos.c
* harbour/source/codepage/cpgedos.c
* harbour/source/codepage/cpgewin.c
* harbour/source/codepage/cphr1250.c
* harbour/source/codepage/cphr437.c
* harbour/source/codepage/cphr852.c
* harbour/source/codepage/cphu852.c
* harbour/source/codepage/cphu852s.c
* harbour/source/codepage/cphuiso.c
* harbour/source/codepage/cphuwin.c
* harbour/source/codepage/cpit437.c
* harbour/source/codepage/cpit850.c
* harbour/source/codepage/cpitisb.c
* harbour/source/codepage/cpitiso.c
* harbour/source/codepage/cpltwin.c
* harbour/source/codepage/cppl852.c
* harbour/source/codepage/cppliso.c
* harbour/source/codepage/cpplmaz.c
* harbour/source/codepage/cpplwin.c
* harbour/source/codepage/cppt850.c
* harbour/source/codepage/cpptiso.c
* harbour/source/codepage/cpru866.c
* harbour/source/codepage/cprukoi.c
* harbour/source/codepage/cpruwin.c
* harbour/source/codepage/cpsl437.c
* harbour/source/codepage/cpsl852.c
* harbour/source/codepage/cpsliso.c
* harbour/source/codepage/cpslwin.c
* harbour/source/codepage/cpsrwin.c
* harbour/source/codepage/cptrdos.c
* harbour/source/codepage/cptrwin.c
* harbour/source/codepage/cpua866.c
* harbour/source/codepage/cpuakoi.c
* harbour/source/codepage/cpuawin.c
* harbour/source/codepage/uc1250.c
* harbour/source/codepage/uc1251.c
* harbour/source/codepage/uc1253.c
* harbour/source/codepage/uc1254.c
* harbour/source/codepage/uc1257.c
* harbour/source/codepage/uc737.c
* harbour/source/codepage/uc850.c
* harbour/source/codepage/uc852.c
* harbour/source/codepage/uc857.c
* harbour/source/codepage/uc866.c
* harbour/source/codepage/uc88591b.c
* harbour/source/codepage/uc8859_1.c
* harbour/source/codepage/uc8859_2.c
* harbour/source/codepage/uc8859_5.c
* harbour/source/codepage/uckam.c
* harbour/source/codepage/uckoi8.c
* harbour/source/codepage/uckoi8u.c
* harbour/source/codepage/ucmaz.c
! #define namespace issue in public API header file
corrected:
CPID_* -> HB_CPID_*
UNITB_* -> HB_UNITB_*
* harbour/source/compiler/gencobj.c
! Fixed warning.
This commit is contained in:
@@ -8,6 +8,116 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-04-18 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* harbour/source/codepage/cp_tpl.c
|
||||
+ Added NOTE about the fact that hb_Translate()
|
||||
(and hb_cdpTranslate()) would only work properly
|
||||
if all codepages for the same language are using the
|
||||
exact same number of lowercase/uppercase cp chars
|
||||
in the exact same order.
|
||||
|
||||
* harbour/source/codepage/Makefile
|
||||
* harbour/common.mak
|
||||
* harbour/source/codepage/cphu852.c
|
||||
* harbour/source/codepage/cphu852s.c
|
||||
* harbour/source/codepage/cphuiso.c
|
||||
+ harbour/source/codepage/cphuisos.c
|
||||
* harbour/source/codepage/cphuwin.c
|
||||
+ harbour/source/codepage/cphuwins.c
|
||||
! Synced HU WIN and HU ISO codepage lower/uppercase
|
||||
strings with HU 852, so that hb_Translate() works
|
||||
properly. (this means there are now several duplicate
|
||||
chars included in the WIN/ISO versions, along with
|
||||
a non-HU char, all just needed to stay compatible with
|
||||
original CA-Cl*pper HU/852 index ordering and keep
|
||||
hb_Translate() working at the same time.)
|
||||
IMO, we'd need to introduce a separate "collation"
|
||||
string in each cp file to detach index ordering
|
||||
from upper/lowercase and codepage translation without
|
||||
any hacks, since as this example shows these two
|
||||
are not always in sync. (or, as an alternative we might
|
||||
want to make codepage translation more sophisticated,
|
||||
like converting first to unicode and convert back to
|
||||
the other codepage from unicode, but that leads a bit
|
||||
further.). (If I'm missing something, pls don't hesitate
|
||||
to clarify)
|
||||
+ Added SixDriver compatible HU ISO/WIN codepage files
|
||||
for the reasons described above.
|
||||
|
||||
* harbour/include/hbapicdp.h
|
||||
* harbour/source/rtl/cdpapi.c
|
||||
* harbour/source/codepage/cpbg866.c
|
||||
* harbour/source/codepage/cpbgiso.c
|
||||
* harbour/source/codepage/cpbgwin.c
|
||||
* harbour/source/codepage/cpcs852.c
|
||||
* harbour/source/codepage/cpcsiso.c
|
||||
* harbour/source/codepage/cpcskam.c
|
||||
* harbour/source/codepage/cpcswin.c
|
||||
* harbour/source/codepage/cpeldos.c
|
||||
* harbour/source/codepage/cpelwin.c
|
||||
* harbour/source/codepage/cpesdos.c
|
||||
* harbour/source/codepage/cpesmwi.c
|
||||
* harbour/source/codepage/cpeswin.c
|
||||
* harbour/source/codepage/cpfrdos.c
|
||||
* harbour/source/codepage/cpgedos.c
|
||||
* harbour/source/codepage/cpgewin.c
|
||||
* harbour/source/codepage/cphr1250.c
|
||||
* harbour/source/codepage/cphr437.c
|
||||
* harbour/source/codepage/cphr852.c
|
||||
* harbour/source/codepage/cphu852.c
|
||||
* harbour/source/codepage/cphu852s.c
|
||||
* harbour/source/codepage/cphuiso.c
|
||||
* harbour/source/codepage/cphuwin.c
|
||||
* harbour/source/codepage/cpit437.c
|
||||
* harbour/source/codepage/cpit850.c
|
||||
* harbour/source/codepage/cpitisb.c
|
||||
* harbour/source/codepage/cpitiso.c
|
||||
* harbour/source/codepage/cpltwin.c
|
||||
* harbour/source/codepage/cppl852.c
|
||||
* harbour/source/codepage/cppliso.c
|
||||
* harbour/source/codepage/cpplmaz.c
|
||||
* harbour/source/codepage/cpplwin.c
|
||||
* harbour/source/codepage/cppt850.c
|
||||
* harbour/source/codepage/cpptiso.c
|
||||
* harbour/source/codepage/cpru866.c
|
||||
* harbour/source/codepage/cprukoi.c
|
||||
* harbour/source/codepage/cpruwin.c
|
||||
* harbour/source/codepage/cpsl437.c
|
||||
* harbour/source/codepage/cpsl852.c
|
||||
* harbour/source/codepage/cpsliso.c
|
||||
* harbour/source/codepage/cpslwin.c
|
||||
* harbour/source/codepage/cpsrwin.c
|
||||
* harbour/source/codepage/cptrdos.c
|
||||
* harbour/source/codepage/cptrwin.c
|
||||
* harbour/source/codepage/cpua866.c
|
||||
* harbour/source/codepage/cpuakoi.c
|
||||
* harbour/source/codepage/cpuawin.c
|
||||
* harbour/source/codepage/uc1250.c
|
||||
* harbour/source/codepage/uc1251.c
|
||||
* harbour/source/codepage/uc1253.c
|
||||
* harbour/source/codepage/uc1254.c
|
||||
* harbour/source/codepage/uc1257.c
|
||||
* harbour/source/codepage/uc737.c
|
||||
* harbour/source/codepage/uc850.c
|
||||
* harbour/source/codepage/uc852.c
|
||||
* harbour/source/codepage/uc857.c
|
||||
* harbour/source/codepage/uc866.c
|
||||
* harbour/source/codepage/uc88591b.c
|
||||
* harbour/source/codepage/uc8859_1.c
|
||||
* harbour/source/codepage/uc8859_2.c
|
||||
* harbour/source/codepage/uc8859_5.c
|
||||
* harbour/source/codepage/uckam.c
|
||||
* harbour/source/codepage/uckoi8.c
|
||||
* harbour/source/codepage/uckoi8u.c
|
||||
* harbour/source/codepage/ucmaz.c
|
||||
! #define namespace issue in public API header file
|
||||
corrected:
|
||||
CPID_* -> HB_CPID_*
|
||||
UNITB_* -> HB_UNITB_*
|
||||
|
||||
* harbour/source/compiler/gencobj.c
|
||||
! Fixed warning.
|
||||
|
||||
2007-04-18 09:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
|
||||
* harbour/source/compiler/gencobj.c
|
||||
* fixed declaration
|
||||
|
||||
@@ -630,7 +630,9 @@ CODEPAGE_LIB_OBJS = \
|
||||
$(OBJ_DIR)\cphu852.obj \
|
||||
$(OBJ_DIR)\cphu852s.obj \
|
||||
$(OBJ_DIR)\cphuiso.obj \
|
||||
$(OBJ_DIR)\cphuisos.obj \
|
||||
$(OBJ_DIR)\cphuwin.obj \
|
||||
$(OBJ_DIR)\cphuwins.obj \
|
||||
$(OBJ_DIR)\cpit437.obj \
|
||||
$(OBJ_DIR)\cpit850.obj \
|
||||
$(OBJ_DIR)\cpitisb.obj \
|
||||
|
||||
@@ -112,45 +112,45 @@ typedef struct _HB_CODEPAGE
|
||||
PHB_MULTICHAR multi;
|
||||
} HB_CODEPAGE, * PHB_CODEPAGE;
|
||||
|
||||
#define CPID_437 "cp437"
|
||||
#define CPID_737 "cp737"
|
||||
#define CPID_850 "cp850"
|
||||
#define CPID_852 "cp852"
|
||||
#define CPID_857 "cp857"
|
||||
#define CPID_866 "cp866"
|
||||
#define CPID_1250 "cp1250"
|
||||
#define CPID_1251 "cp1251"
|
||||
#define CPID_1253 "cp1253"
|
||||
#define CPID_1254 "cp1254"
|
||||
#define CPID_1257 "cp1257"
|
||||
#define CPID_8859_1 "iso8859-1"
|
||||
#define CPID_8859_1B "iso8859-1b"
|
||||
#define CPID_8859_2 "iso8859-2"
|
||||
#define CPID_8859_5 "iso8859-5"
|
||||
#define CPID_KOI_8 "koi-8"
|
||||
#define CPID_KOI_8U "koi-8u"
|
||||
#define CPID_MAZ "plmaz"
|
||||
#define CPID_KAM "cskam"
|
||||
#define UNITB_437 &hb_uniTbl_437
|
||||
#define UNITB_737 &hb_uniTbl_737
|
||||
#define UNITB_850 &hb_uniTbl_850
|
||||
#define UNITB_852 &hb_uniTbl_852
|
||||
#define UNITB_857 &hb_uniTbl_857
|
||||
#define UNITB_866 &hb_uniTbl_866
|
||||
#define UNITB_1250 &hb_uniTbl_1250
|
||||
#define UNITB_1251 &hb_uniTbl_1251
|
||||
#define UNITB_1253 &hb_uniTbl_1253
|
||||
#define UNITB_1254 &hb_uniTbl_1254
|
||||
#define UNITB_1257 &hb_uniTbl_1257
|
||||
#define UNITB_8859_1 &hb_uniTbl_8859_1
|
||||
#define UNITB_8859_1B &hb_uniTbl_8859_1b
|
||||
#define UNITB_8859_2 &hb_uniTbl_8859_2
|
||||
#define UNITB_8859_5 &hb_uniTbl_8859_5
|
||||
#define UNITB_KOI_8 &hb_uniTbl_KOI_8
|
||||
#define UNITB_KOI_8U &hb_uniTbl_KOI_8U
|
||||
#define UNITB_KAM &hb_uniTbl_kam
|
||||
#define UNITB_MAZ &hb_uniTbl_mazovia
|
||||
#define UNITB_UNDEF NULL /* ((PHB_UNITABLE) (-1)) */
|
||||
#define HB_CPID_437 "cp437"
|
||||
#define HB_CPID_737 "cp737"
|
||||
#define HB_CPID_850 "cp850"
|
||||
#define HB_CPID_852 "cp852"
|
||||
#define HB_CPID_857 "cp857"
|
||||
#define HB_CPID_866 "cp866"
|
||||
#define HB_CPID_1250 "cp1250"
|
||||
#define HB_CPID_1251 "cp1251"
|
||||
#define HB_CPID_1253 "cp1253"
|
||||
#define HB_CPID_1254 "cp1254"
|
||||
#define HB_CPID_1257 "cp1257"
|
||||
#define HB_CPID_8859_1 "iso8859-1"
|
||||
#define HB_CPID_8859_1B "iso8859-1b"
|
||||
#define HB_CPID_8859_2 "iso8859-2"
|
||||
#define HB_CPID_8859_5 "iso8859-5"
|
||||
#define HB_CPID_KOI_8 "koi-8"
|
||||
#define HB_CPID_KOI_8U "koi-8u"
|
||||
#define HB_CPID_MAZ "plmaz"
|
||||
#define HB_CPID_KAM "cskam"
|
||||
#define HB_UNITB_437 &hb_uniTbl_437
|
||||
#define HB_UNITB_737 &hb_uniTbl_737
|
||||
#define HB_UNITB_850 &hb_uniTbl_850
|
||||
#define HB_UNITB_852 &hb_uniTbl_852
|
||||
#define HB_UNITB_857 &hb_uniTbl_857
|
||||
#define HB_UNITB_866 &hb_uniTbl_866
|
||||
#define HB_UNITB_1250 &hb_uniTbl_1250
|
||||
#define HB_UNITB_1251 &hb_uniTbl_1251
|
||||
#define HB_UNITB_1253 &hb_uniTbl_1253
|
||||
#define HB_UNITB_1254 &hb_uniTbl_1254
|
||||
#define HB_UNITB_1257 &hb_uniTbl_1257
|
||||
#define HB_UNITB_8859_1 &hb_uniTbl_8859_1
|
||||
#define HB_UNITB_8859_1B &hb_uniTbl_8859_1b
|
||||
#define HB_UNITB_8859_2 &hb_uniTbl_8859_2
|
||||
#define HB_UNITB_8859_5 &hb_uniTbl_8859_5
|
||||
#define HB_UNITB_KOI_8 &hb_uniTbl_KOI_8
|
||||
#define HB_UNITB_KOI_8U &hb_uniTbl_KOI_8U
|
||||
#define HB_UNITB_KAM &hb_uniTbl_kam
|
||||
#define HB_UNITB_MAZ &hb_uniTbl_mazovia
|
||||
#define HB_UNITB_UNDEF NULL /* ((PHB_UNITABLE) (-1)) */
|
||||
|
||||
extern HB_UNITABLE hb_uniTbl_437;
|
||||
extern HB_UNITABLE hb_uniTbl_737;
|
||||
|
||||
@@ -27,7 +27,9 @@ C_SOURCES=\
|
||||
cphu852.c \
|
||||
cphu852s.c \
|
||||
cphuiso.c \
|
||||
cphuisos.c \
|
||||
cphuwin.c \
|
||||
cphuwins.c \
|
||||
cpit437.c \
|
||||
cpit850.c \
|
||||
cpitisb.c \
|
||||
|
||||
@@ -58,6 +58,12 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbapicdp.h"
|
||||
|
||||
/* NOTE: In order to codepage translate work in Harbour, you must
|
||||
ensure that the NUMBER_OF_CHARACTERS and the order of the
|
||||
lowercase/uppercase chars are exactly matching in every
|
||||
codepage that belong to the same language.
|
||||
[vszakats] */
|
||||
|
||||
#define NUMBER_OF_CHARACTERS 26 /* The number of single characters in the
|
||||
alphabet, two-as-one aren't considered
|
||||
here, accented - are considered. */
|
||||
@@ -84,7 +90,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "EN",
|
||||
CPID_437,UNITB_437,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_437,HB_UNITB_437,NUMBER_OF_CHARACTERS,
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||
"abcdefghijklmnopqrstuvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "BG866",
|
||||
CPID_866, UNITB_866, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_866, HB_UNITB_866, NUMBER_OF_CHARACTERS,
|
||||
"€<EFBFBD>‚ƒ„…†‡ˆ‰Š‹Œ<EFBFBD>Ž<EFBFBD><EFBFBD>‘’“”•–—˜™š›œ<EFBFBD>žŸ",
|
||||
" ¡¢£¤¥¦§¨©ª«¬®¯àáâãäåæçèéêëìíîï",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "BGISO",
|
||||
CPID_8859_5, UNITB_8859_5, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_5, HB_UNITB_8859_5, NUMBER_OF_CHARACTERS,
|
||||
"°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ",
|
||||
"ÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîï",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "BGWIN",
|
||||
CPID_1251, UNITB_1251, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1251, HB_UNITB_1251, NUMBER_OF_CHARACTERS,
|
||||
"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß",
|
||||
"àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "CS852",
|
||||
CPID_852, UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852, HB_UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
"A~µ~ŽBC¬D~ÒE~<7E>~·~ÓFGH.CH.I~ÖJKLMN~ÕO~à~™PQRüSæT~›U~é~Þ~šVWXY~íZ¦",
|
||||
"a~ ~„bcŸd~Ôe~‚~Ø~‰fgh.ch.i~¡jklmn~åo~¢~”pqrýsçt~œu~£~…~<7E>vwxy~ìz§",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "CSISO",
|
||||
CPID_8859_2, UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_2, HB_UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"A~Á~ÄBCÈD~ÏE~É~Ì~ËFGH.CH.I~ÍJKLMN~ÒO~Ó~ÖPQRØS©T~«U~Ú~Ù~ÜVWXY~ÝZ®",
|
||||
"a~á~äbcèd~ïe~é~ì~ëfgh.ch.i~íjklmn~òo~ó~öpqrøs¹t~»u~ú~ù~üvwxy~ýz¾",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "CSKAM",
|
||||
CPID_KAM, UNITB_KAM, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_KAM, HB_UNITB_KAM, NUMBER_OF_CHARACTERS,
|
||||
"A~<7E>~ŽBC€D~…E~<7E>~‰~ FGH.CH.I~‹JKLMN~¥O~•~™PQRžS›T~†U~—~¦~šVWXY~<7E>Z’",
|
||||
"a~ ~„bc‡d~ƒe~‚~ˆ~ fgh.ch.i~¡jklmn~¤o~¢~”pqr©s¨t~Ÿu~£~–~<7E>vwxy~˜z‘",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "CSWIN",
|
||||
CPID_1250, UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1250, HB_UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"A~Á~ÄBCÈD~ÏE~É~Ì~ËFGH.CH.I~ÍJKLMN~ÒO~Ó~ÖPQRØSŠT~<7E>U~Ú~Ù~ÜVWXY~ÝZŽ",
|
||||
"a~á~äbcèd~ïe~é~ì~ëfgh.ch.i~íjklmn~òo~ó~öpqrøsšt~<7E>u~ú~ù~üvwxy~ýzž",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "EL",
|
||||
CPID_737, UNITB_737, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_737, HB_UNITB_737, NUMBER_OF_CHARACTERS,
|
||||
"€~ê<>‚ƒ„ë…†~쇈~퉊‹Œ<E280B9>Ž~î<><C3AE>‘‘’“~–—~ð",
|
||||
"˜~ᙚ›œ~â<>ž~㟠~å¡¢£¤¥¦~槨©ª«¬~箯à~é",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ELWIN",
|
||||
CPID_1253, UNITB_1253, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1253, HB_UNITB_1253, NUMBER_OF_CHARACTERS,
|
||||
"Á~¢ÂÃÄŸÆÇ~¹ÈÉ~ºÊËÌÍÎÏ~¼ÐÑÓÓÔÕ~¾ÖרÙ~¿",
|
||||
"á~Üâãäå~Ýæç~Þèé~ßêëìíîï~üðñóòôõ~ýö÷øù~þ",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ES",
|
||||
CPID_850, UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_850, HB_UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
"AµBCDE<EFBFBD>FGHIÖJKLMN¥OàPQRSTUéšVWXYZ",
|
||||
"a bcde‚fghi¡jklmn¤o¢pqrstu£<EFBFBD>vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ESMWIN",
|
||||
CPID_8859_1, UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1, HB_UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
"AÁÀÄBCÇDEÉÈËFGHIÍÌÏJKLMNÑOÓÒÖPQRSTUÚÙÜVWXYZ",
|
||||
"aáàäbcçdeéèëfghiíìïjklmnñoóòöpqrstuúùüvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ESWIN",
|
||||
CPID_8859_1, UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1, HB_UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
"AÁBCDEÉFGHIÍJKLMNÑOÓPQRSTUÚÜVWXYZ",
|
||||
"aábcdeéfghiíjklmnñoópqrstuúüvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "FR",
|
||||
CPID_850, UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_850, HB_UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
"AAAAABCDEEEEEFGHIIIIIJKLMNOOOOOPQRSTUUUUUVWXYZ",
|
||||
"a …ƒ„bcde‚Šˆ‰fghi¡<EFBFBD>Œ‹jklmno¢•“”pqrstu£—–<EFBFBD>vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "DE",
|
||||
CPID_850, UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_850, HB_UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
"AŽBCDEFGHIJKLMNO™PQRSáTUšVWXYZ",
|
||||
"a„bcdefghijklmno”pqrsátu<EFBFBD>vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "DEWIN",
|
||||
CPID_8859_1, UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1, HB_UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
"AÄBCDEFGHIJKLMNOÖPQRSßTUÜVWXYZ",
|
||||
"aäbcdefghijklmnoöpqrsßtuüvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HR1250",
|
||||
CPID_1250,UNITB_1250,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1250,HB_UNITB_1250,NUMBER_OF_CHARACTERS,
|
||||
"ABCCCDÐEFGHIJKLMNOPQRSŠTUVWZŽXY",
|
||||
"abcccddefghijklmnopqrsštuvwzžxy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HR437",
|
||||
CPID_437,UNITB_437,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_437,HB_UNITB_437,NUMBER_OF_CHARACTERS,
|
||||
"ABC]^D\\EFGHIJKLMNOPQRS[TUVWZ@XY",
|
||||
"abc}~d|efghijklmnopqrs{tuvwz`xy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HR852",
|
||||
CPID_852,UNITB_852,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852,HB_UNITB_852,NUMBER_OF_CHARACTERS,
|
||||
"ABC<EFBFBD>¬DÑEFGHIJKLMNOPQRSæTUVWZ¦XY",
|
||||
"abc†ŸdÐefghijklmnopqrsçtuvwz§xy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,9 @@
|
||||
|
||||
/* NOTE: Several chars have been added above the standard 852 Hungarian
|
||||
ones to make it 100% compatible with ntxhu852.obj for CA-Cl*pper 5.x.
|
||||
[vszakats] */
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
/* NOTE: Since there is no possibility in Harbour to have different number
|
||||
of uppercase and lowercase accented chars, a simple workaround
|
||||
@@ -95,7 +97,7 @@
|
||||
[20070410] [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HU852",
|
||||
CPID_852, UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852, HB_UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
"A<EFBFBD>µŽBCDE<EFBFBD>FGHI<EFBFBD>ÖJKLMNO•à™§ŠPQRSTU—隘ëVWXYZ",
|
||||
"a „bcde‚fghi¡¡jklmno¢¢”“‹pqrstu££<EFBFBD>–ûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,10 +85,12 @@
|
||||
|
||||
/* NOTE: Ž/„ has been added to make it fully compatible with sixhu852.obj for
|
||||
S*ccessWare SIx Driver.
|
||||
[vszakats] */
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HU852S",
|
||||
CPID_852, UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852, HB_UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
"AµŽBCDE<EFBFBD>FGHIÖJKLMNOà™ŠPQRSTUéšëVWXYZ",
|
||||
"a „bcde‚fghi¡jklmno¢”‹pqrstu£<EFBFBD>ûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -52,13 +52,13 @@
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: ISO-8859-2 */
|
||||
/* Codepage: ISO-8859-2 (ntxhu852 compatible) */
|
||||
|
||||
#include <ctype.h>
|
||||
#include "hbapi.h"
|
||||
#include "hbapicdp.h"
|
||||
|
||||
#define NUMBER_OF_CHARACTERS 35 /* The number of single characters in the
|
||||
#define NUMBER_OF_CHARACTERS 42 /* The number of single characters in the
|
||||
alphabet, two-as-one aren't considered
|
||||
here, accented - are considered. */
|
||||
#define IS_LATIN 1 /* Should be 1, if the national alphabet
|
||||
@@ -83,10 +83,23 @@
|
||||
same excepting the characters case, of course.
|
||||
*/
|
||||
|
||||
/* NOTE: Several chars have been added above the standard 852 Hungarian
|
||||
ones to make it 100% compatible with ntxhu852.obj for CA-Cl*pper 5.x.
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
/* NOTE: Since there is no possibility in Harbour to have different number
|
||||
of uppercase and lowercase accented chars, a simple workaround
|
||||
was used to solve the problem; notice that some uppercase chars
|
||||
have the same lowercase values. Testing showed that both the
|
||||
ordering and Lower()/Upper() functions worked alright.
|
||||
[20070410] [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HUISO",
|
||||
CPID_8859_2, UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"AÁBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ",
|
||||
"aábcdeéfghiíjklmnoóöõpqrstuúüûvwxyz",
|
||||
HB_CPID_8859_2, HB_UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"AÁÁÄBCDEÉFGHIÍÍJKLMNOÓÓÖÕÕPQRSTUÚÚÜÛÛVWXYZ",
|
||||
"aááäbcdeéfghiííjklmnoóóöõõpqrstuúúüûûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
HB_CODEPAGE_INIT( HUISO )
|
||||
|
||||
111
harbour/source/codepage/cphuisos.c
Normal file
111
harbour/source/codepage/cphuisos.c
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* National Collation Support Module (HUISOS)
|
||||
*
|
||||
* Copyright 1999-2005 Viktor Szakats <viktor.szakats@syenar.hu>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: ISO-8859-2 (sixhu852 compatible) */
|
||||
|
||||
#include <ctype.h>
|
||||
#include "hbapi.h"
|
||||
#include "hbapicdp.h"
|
||||
|
||||
#define NUMBER_OF_CHARACTERS 36 /* The number of single characters in the
|
||||
alphabet, two-as-one aren't considered
|
||||
here, accented - are considered. */
|
||||
#define IS_LATIN 1 /* Should be 1, if the national alphabet
|
||||
is based on Latin */
|
||||
#define ACCENTED_EQUAL 0 /* Should be 1, if accented character
|
||||
has the same weight as appropriate
|
||||
unaccented. */
|
||||
#define ACCENTED_INTERLEAVED 0 /* Should be 1, if accented characters
|
||||
sort after their unaccented counterparts
|
||||
only if the unaccented versions of all
|
||||
characters being compared are the same
|
||||
( interleaving ) */
|
||||
|
||||
/* If ACCENTED_EQUAL or ACCENTED_INTERLEAVED is 1, you need to mark the
|
||||
accented characters with the symbol '~' before each of them, for example:
|
||||
a~€
|
||||
If there is two-character sequence, which is considered as one, it should
|
||||
be marked with '.' before and after it, for example:
|
||||
... h.ch.i ...
|
||||
|
||||
The Upper case string and the Lower case string should be absolutely the
|
||||
same excepting the characters case, of course.
|
||||
*/
|
||||
|
||||
/* NOTE: Ž/„ has been added to make it fully compatible with sixhu852.obj for
|
||||
S*ccessWare SIx Driver.
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HUISOS",
|
||||
HB_CPID_8859_2, HB_UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ",
|
||||
"aáäbcdeéfghiíjklmnoóöõpqrstuúüûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
HB_CODEPAGE_INIT( HUISOS )
|
||||
|
||||
#if defined(HB_PRAGMA_STARTUP)
|
||||
#pragma startup hb_codepage_Init_HUISOS
|
||||
#elif defined(HB_MSC_STARTUP)
|
||||
#if _MSC_VER >= 1010
|
||||
#pragma data_seg( ".CRT$XIY" )
|
||||
#pragma comment( linker, "/Merge:.CRT=.data" )
|
||||
#else
|
||||
#pragma data_seg( "XIY" )
|
||||
#endif
|
||||
static HB_$INITSYM hb_vm_auto_hb_codepage_Init_HUISOS = hb_codepage_Init_HUISOS;
|
||||
#pragma data_seg()
|
||||
#endif
|
||||
@@ -52,13 +52,13 @@
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: Windows-1250 */
|
||||
/* Codepage: Windows-1250 (ntxhu852 compatible) */
|
||||
|
||||
#include <ctype.h>
|
||||
#include "hbapi.h"
|
||||
#include "hbapicdp.h"
|
||||
|
||||
#define NUMBER_OF_CHARACTERS 35 /* The number of single characters in the
|
||||
#define NUMBER_OF_CHARACTERS 42 /* The number of single characters in the
|
||||
alphabet, two-as-one aren't considered
|
||||
here, accented - are considered. */
|
||||
#define IS_LATIN 1 /* Should be 1, if the national alphabet
|
||||
@@ -83,10 +83,23 @@
|
||||
same excepting the characters case, of course.
|
||||
*/
|
||||
|
||||
/* NOTE: Several chars have been added above the standard 852 Hungarian
|
||||
ones to make it 100% compatible with ntxhu852.obj for CA-Cl*pper 5.x.
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
/* NOTE: Since there is no possibility in Harbour to have different number
|
||||
of uppercase and lowercase accented chars, a simple workaround
|
||||
was used to solve the problem; notice that some uppercase chars
|
||||
have the same lowercase values. Testing showed that both the
|
||||
ordering and Lower()/Upper() functions worked alright.
|
||||
[20070410] [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HUWIN",
|
||||
CPID_1250, UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"AÁBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ",
|
||||
"aábcdeéfghiíjklmnoóöõpqrstuúüûvwxyz",
|
||||
HB_CPID_1250, HB_UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"AÁÁÄBCDEÉFGHIÍÍJKLMNOÓÓÖÕÕPQRSTUÚÚÜÛÛVWXYZ",
|
||||
"aááäbcdeéfghiííjklmnoóóöõõpqrstuúúüûûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
HB_CODEPAGE_INIT( HUWIN )
|
||||
|
||||
111
harbour/source/codepage/cphuwins.c
Normal file
111
harbour/source/codepage/cphuwins.c
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* National Collation Support Module (HUWINS)
|
||||
*
|
||||
* Copyright 1999-2005 Viktor Szakats <viktor.szakats@syenar.hu>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2, or (at your option)
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this software; see the file COPYING. If not, write to
|
||||
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
|
||||
*
|
||||
* As a special exception, the Harbour Project gives permission for
|
||||
* additional uses of the text contained in its release of Harbour.
|
||||
*
|
||||
* The exception is that, if you link the Harbour libraries with other
|
||||
* files to produce an executable, this does not by itself cause the
|
||||
* resulting executable to be covered by the GNU General Public License.
|
||||
* Your use of that executable is in no way restricted on account of
|
||||
* linking the Harbour library code into it.
|
||||
*
|
||||
* This exception does not however invalidate any other reasons why
|
||||
* the executable file might be covered by the GNU General Public License.
|
||||
*
|
||||
* This exception applies only to the code released by the Harbour
|
||||
* Project under the name Harbour. If you copy code from other
|
||||
* Harbour Project or Free Software Foundation releases into a copy of
|
||||
* Harbour, as the General Public License permits, the exception does
|
||||
* not apply to the code that you add in this way. To avoid misleading
|
||||
* anyone as to the status of such modified files, you must delete
|
||||
* this exception notice from them.
|
||||
*
|
||||
* If you write modifications of your own for Harbour, it is your choice
|
||||
* whether to permit this exception to apply to your modifications.
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: Windows-1250 (sixhu852 compatible) */
|
||||
|
||||
#include <ctype.h>
|
||||
#include "hbapi.h"
|
||||
#include "hbapicdp.h"
|
||||
|
||||
#define NUMBER_OF_CHARACTERS 36 /* The number of single characters in the
|
||||
alphabet, two-as-one aren't considered
|
||||
here, accented - are considered. */
|
||||
#define IS_LATIN 1 /* Should be 1, if the national alphabet
|
||||
is based on Latin */
|
||||
#define ACCENTED_EQUAL 0 /* Should be 1, if accented character
|
||||
has the same weight as appropriate
|
||||
unaccented. */
|
||||
#define ACCENTED_INTERLEAVED 0 /* Should be 1, if accented characters
|
||||
sort after their unaccented counterparts
|
||||
only if the unaccented versions of all
|
||||
characters being compared are the same
|
||||
( interleaving ) */
|
||||
|
||||
/* If ACCENTED_EQUAL or ACCENTED_INTERLEAVED is 1, you need to mark the
|
||||
accented characters with the symbol '~' before each of them, for example:
|
||||
a~€
|
||||
If there is two-character sequence, which is considered as one, it should
|
||||
be marked with '.' before and after it, for example:
|
||||
... h.ch.i ...
|
||||
|
||||
The Upper case string and the Lower case string should be absolutely the
|
||||
same excepting the characters case, of course.
|
||||
*/
|
||||
|
||||
/* NOTE: Ž/„ has been added to make it fully compatible with sixhu852.obj for
|
||||
S*ccessWare SIx Driver.
|
||||
Moreover the extra chars had to be replicated in the alternative
|
||||
codepages (WIN, ISO) too, to keep the Harbour codepage translation
|
||||
work. [vszakats] */
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "HUWINS",
|
||||
HB_CPID_1250, HB_UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ",
|
||||
"aáäbcdeéfghiíjklmnoóöõpqrstuúüûvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
HB_CODEPAGE_INIT( HUWINS )
|
||||
|
||||
#if defined(HB_PRAGMA_STARTUP)
|
||||
#pragma startup hb_codepage_Init_HUWINS
|
||||
#elif defined(HB_MSC_STARTUP)
|
||||
#if _MSC_VER >= 1010
|
||||
#pragma data_seg( ".CRT$XIY" )
|
||||
#pragma comment( linker, "/Merge:.CRT=.data" )
|
||||
#else
|
||||
#pragma data_seg( "XIY" )
|
||||
#endif
|
||||
static HB_$INITSYM hb_vm_auto_hb_codepage_Init_HUWINS = hb_codepage_Init_HUWINS;
|
||||
#pragma data_seg()
|
||||
#endif
|
||||
@@ -83,7 +83,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "IT437",
|
||||
CPID_437, UNITB_437, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_437, HB_UNITB_437, NUMBER_OF_CHARACTERS,
|
||||
"AAAAAŽ<EFBFBD>BCDEE<EFBFBD>FGHIIIJKLMNOOOPQRSTUUUVWXYZ",
|
||||
"aa… ƒ„†bcdeŠ‚fghi<EFBFBD>¡jklmno•¢pqrstu—£vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "IT850",
|
||||
CPID_850, UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_850, HB_UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
"A·µ¶ÇŽ<EFBFBD>BCDEÔ<EFBFBD>FGHIÞÖJKLMNOãàPQRSTUëéVWXYZ",
|
||||
"a… ƒÆ„†bcdeŠ‚fghi<EFBFBD>¡jklmno•¢pqrstu—£vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ITISB",
|
||||
CPID_8859_1B, UNITB_8859_1B, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1B, HB_UNITB_8859_1B, NUMBER_OF_CHARACTERS,
|
||||
"AÀÁÂÃÄÅBCDEÈÉFGHIÌÍJKLMNOÒÓPQRSTUÙÚVWXYZ",
|
||||
"aàáâãäåbcdeèéfghiìíjklmnoòópqrstuùúvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "ITISO",
|
||||
CPID_8859_1, UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1, HB_UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
"AÀÁÂÃÄÅBCDEÈÉFGHIÌÍJKLMNOÒÓPQRSTUÙÚVWXYZ",
|
||||
"aàáâãäåbcdeèéfghiìíjklmnoòópqrstuùúvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "LT",
|
||||
CPID_1257,UNITB_1257,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1257,HB_UNITB_1257,NUMBER_OF_CHARACTERS,
|
||||
"AÀBCÈDEÆËFGHIÁYJKLMNOPQRSÐTUØÛVWXZÞ",
|
||||
"aàbcèdeæëfghiáyjklmnopqrsðtuøûvwxzþ",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PL852",
|
||||
CPID_852, UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852, HB_UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
"A¤BC<EFBFBD>DE¨FGHIJKL<EFBFBD>MNãOàPQRS—TUVWXYZ<EFBFBD>½",
|
||||
"a¥bc†de©fghijklˆmnäo¢pqrs˜tuvwxyz«¾",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PLISO",
|
||||
CPID_8859_2, UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_2, HB_UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"A¡BCÆDEÊFGHIJKL£MNÑOÓPQRS¦TUVWXYZ¬¯",
|
||||
"a±bcædeêfghijkl³mnñoópqrs¶tuvwxyz¼¿",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PLMAZ",
|
||||
CPID_MAZ, UNITB_MAZ, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_MAZ, HB_UNITB_MAZ, NUMBER_OF_CHARACTERS,
|
||||
"A<EFBFBD>BC•DE<EFBFBD>FGHIJKLœMN¥O£PQRS˜TUVWXYZ ¡",
|
||||
"a†bc<EFBFBD>de‘fghijkl’mn¤o¢pqrsžtuvwxyz¦§",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PLWIN",
|
||||
CPID_1250, UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1250, HB_UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"A¥BCÆDEÊFGHIJKL£MNÑOÓPQRSŒTUVWXYZ<EFBFBD>¯",
|
||||
"a¹bcædeêfghijkl³mnñoópqrsœtuvwxyzŸ¿",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PT850",
|
||||
CPID_850, UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_850, HB_UNITB_850, NUMBER_OF_CHARACTERS,
|
||||
"Aµ·¶ÇŽBC€DE<EFBFBD>ÔÒFGHIÖÞרJKLMN¥Oàãâå™PQRSTUéëêšVWXYZ",
|
||||
"a …ƒÆ„bc‡de‚Šˆfghi¡<EFBFBD>Œ‹jklmn¤o¢•“ä”pqrstu£—–<EFBFBD>vwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "PTISO",
|
||||
CPID_8859_1, UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_1, HB_UNITB_8859_1, NUMBER_OF_CHARACTERS,
|
||||
"AÁÀÂÃÄBCÇDEÉÈÊFGHIÍÌÎÏJKLMNÑOÓÒÔÕÖPQRSTUÚÙÛÜVWXYZ",
|
||||
"aáàâãäbcçdeéèêfghiíìîïjklmnñoóòôõöpqrstuúùûüvwxyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "RU866",
|
||||
CPID_866, UNITB_866, 32,
|
||||
HB_CPID_866, HB_UNITB_866, 32,
|
||||
"€<EFBFBD>‚ƒ„…†‡ˆ‰Š‹Œ<EFBFBD>Ž<EFBFBD><EFBFBD>‘’“”•–—˜™š›œ<EFBFBD>žŸ",
|
||||
" ¡¢£¤¥¦§¨©ª«¬®¯àáâãäåæçèéêëìíîï",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "RUKOI8",
|
||||
CPID_KOI_8, UNITB_KOI_8, 32,
|
||||
HB_CPID_KOI_8, HB_UNITB_KOI_8, 32,
|
||||
"áâ÷çäåöúéêëìíîïðòóôõæèãþûýÿùøüàñ",
|
||||
"ÁÂ×ÇÄÅÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝßÙØÜÀÑ",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "RU1251",
|
||||
CPID_1251, UNITB_1251, 32,
|
||||
HB_CPID_1251, HB_UNITB_1251, 32,
|
||||
"ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß",
|
||||
"àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "SL437",
|
||||
CPID_437, UNITB_437, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_437, HB_UNITB_437, NUMBER_OF_CHARACTERS,
|
||||
"ABC^]D\\EFGHIJKLMNOPQRS[TUVWZ@XY",
|
||||
"abc~}d|efghijklmnopqrs{tuvwz`xy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "SL852",
|
||||
CPID_852, UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_852, HB_UNITB_852, NUMBER_OF_CHARACTERS,
|
||||
"ABC¬<EFBFBD>DÑEFGHIJKLMNOPQRSæTUVWZ¦XY",
|
||||
"abcŸ†dÐefghijklmnopqrsçtuvwz§xy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "SLISO",
|
||||
CPID_8859_2, UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_8859_2, HB_UNITB_8859_2, NUMBER_OF_CHARACTERS,
|
||||
"ABCÈÆDÐEFGHIJKLMNOPQRS©TUVWZ®XY",
|
||||
"abcèædðefghijklmnopqrs¹tuvwz¾xy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "SLWIN",
|
||||
CPID_1250, UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1250, HB_UNITB_1250, NUMBER_OF_CHARACTERS,
|
||||
"ABCÈÆDÐEFGHIJKLMNOPQRSŠTUVWZŽXY",
|
||||
"abcèædðefghijklmnopqrsštuvwzžxy",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "SRWIN",
|
||||
CPID_1251, UNITB_1251, NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1251, HB_UNITB_1251, NUMBER_OF_CHARACTERS,
|
||||
"ÀÁÂÃĀůÇÈ£ÊËŠÌÍŒÎÏÐÑÒŽÓÔÕÖ×<EFBFBD>Ø",
|
||||
"àáâãä<EFBFBD>åæçè¼êëšìíœîïðñòžóôõö÷Ÿø",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "TR857",
|
||||
CPID_857,UNITB_857,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_857,HB_UNITB_857,NUMBER_OF_CHARACTERS,
|
||||
"A¶BC€DEÒFG¦HI˜×JKLMNOâ™PRSžTUêšVYZ",
|
||||
"aƒbc‡deˆfg§h<EFBFBD>iŒjklmno“”prsŸtu–<EFBFBD>vyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
*/
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "TRWIN",
|
||||
CPID_1254,UNITB_1254,NUMBER_OF_CHARACTERS,
|
||||
HB_CPID_1254,HB_UNITB_1254,NUMBER_OF_CHARACTERS,
|
||||
"AÂBCÇDEÊFGÐHIÝÎJKLMNOÔÖPRSÞTUÛÜVYZ",
|
||||
"aâbcçdeêfgðhýiîjklmnoôöprsþtuûüvyz",
|
||||
IS_LATIN, ACCENTED_EQUAL, ACCENTED_INTERLEAVED, 0, 0, NULL, NULL, NULL, NULL, 0, NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "UA866",
|
||||
CPID_866,UNITB_866,36,
|
||||
HB_CPID_866,HB_UNITB_866,36,
|
||||
"€<EFBFBD>‚ƒ„…ðò†‡ˆIô‰Š‹Œ<EFBFBD>Ž<EFBFBD><EFBFBD>‘’“”•–—˜™š›œ<EFBFBD>žŸ",
|
||||
" ¡¢£¤¥ñ󦧨iõ©ª«¬®¯àáâãäåæçèéêëìíîï",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "UAKOI8",
|
||||
CPID_KOI_8,UNITB_KOI_8,36,
|
||||
HB_CPID_KOI_8,HB_UNITB_KOI_8,36,
|
||||
"áâ÷çäå³´öúé¶·êëìíîïðòóôõæèãþûýÿùøüàñ",
|
||||
"ÁÂ×ÇÄÅ£¤ÖÚɦ§ÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝßÙØÜÀÑ",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "hbapicdp.h"
|
||||
|
||||
static HB_CODEPAGE s_codepage = { "UA1251",
|
||||
CPID_1251,UNITB_1251,36,
|
||||
HB_CPID_1251,HB_UNITB_1251,36,
|
||||
"ÀÁÂÃÄŨªÆÇȲ¯ÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß",
|
||||
"àáâãä帺æç賿éêëìíîïðñòóôõö÷øùúûüýþÿ",
|
||||
0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x0159, 0x016F, 0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_1250 = { CPID_1250, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_1250 = { HB_CPID_1250, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_1251 = { CPID_1251, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_1251 = { HB_CPID_1251, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x03C8, 0x03C9, 0x03CA, 0x03CB, 0x03CC, 0x03CD, 0x03CE, 0x00FF,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_1253 = { CPID_1253, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_1253 = { HB_CPID_1253, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x0131, 0x015F, 0x00FF
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_1254 = { CPID_1254, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_1254 = { HB_CPID_1254, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x0173, 0x0142, 0x015B, 0x016B, 0x00FC, 0x017C, 0x017E, 0x02D9,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_1257 = { CPID_1257, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_1257 = { HB_CPID_1257, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_737 = { CPID_737, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_737 = { HB_CPID_737, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_850 = { CPID_850, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_850 = { HB_CPID_850, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x00A8, 0x02D9, 0x0171, 0x0158, 0x0159, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_852 = { CPID_852, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_852 = { HB_CPID_852, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_857 = { CPID_857, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_857 = { HB_CPID_857, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x2219, 0x00B7, 0x221A, 0x2116, 0x00A4, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_866 = { CPID_866, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_866 = { HB_CPID_866, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x00FD, 0x00FE, 0x00FF,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_8859_1b = { CPID_8859_1B, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_8859_1b = { HB_CPID_8859_1B, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x00FD, 0x00FE, 0x00FF,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_8859_1 = { CPID_8859_1, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_8859_1 = { HB_CPID_8859_1, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x0159, 0x016F, 0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_8859_2 = { CPID_8859_2, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_8859_2 = { HB_CPID_8859_2, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x0458, 0x0459, 0x045A, 0x045B, 0x045C, 0x00A7, 0x045E, 0x045F,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_8859_5 = { CPID_8859_5, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_8859_5 = { HB_CPID_8859_5, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_kam = { CPID_KAM, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_kam = { HB_CPID_KAM, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_KOI_8 = { CPID_KOI_8, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_KOI_8 = { HB_CPID_KOI_8, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_KOI_8U = { CPID_KOI_8U, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_KOI_8U = { HB_CPID_KOI_8U, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -90,4 +90,4 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_mazovia = { CPID_MAZ, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_mazovia = { HB_CPID_MAZ, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
@@ -108,7 +108,7 @@ void hb_compGenCObj( HB_COMP_DECL, PHB_FNAME pFileName )
|
||||
#else
|
||||
char * pszEnv = NULL;
|
||||
#endif
|
||||
char * pszCfgFileName = NULL;
|
||||
char * pszCfgFileName = hb_getenv( "HB_CFG_FILE" );
|
||||
FILE * filecfg;
|
||||
BOOL bVerbose = FALSE; /* Don't show C compiler messages (default). */
|
||||
BOOL bDelTmp = TRUE; /* Delete intermediate C file (default). */
|
||||
@@ -127,8 +127,6 @@ void hb_compGenCObj( HB_COMP_DECL, PHB_FNAME pFileName )
|
||||
|
||||
/* Set up things */
|
||||
|
||||
pszCfgFileName = hb_getenv( "HB_CFG_FILE" );
|
||||
|
||||
if( !pszCfgFileName )
|
||||
{
|
||||
pszCfgFileName = HB_CFG_FILENAME;
|
||||
|
||||
@@ -93,9 +93,9 @@ static USHORT uniCodes[NUMBER_OF_CHARS] = {
|
||||
0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0,
|
||||
};
|
||||
|
||||
HB_UNITABLE hb_uniTbl_437 = { CPID_437, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
HB_UNITABLE hb_uniTbl_437 = { HB_CPID_437, NUMBER_OF_CHARS, FALSE, uniCodes };
|
||||
|
||||
static HB_CODEPAGE s_en_codepage = { "EN",CPID_437,UNITB_437,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
static HB_CODEPAGE s_en_codepage = { "EN",HB_CPID_437,HB_UNITB_437,0,NULL,NULL,0,0,0,0,0,NULL,NULL,NULL,NULL,0,NULL };
|
||||
|
||||
#define HB_CDP_MAX_ 64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user