2009-11-10 03:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
- src/codepage/cphuisos.c
- src/codepage/cphuwins.c
- Deleted these variants which are no longer needed.
* src/codepage/cphuiso.c
* src/codepage/cphuwin.c
* Updated comments.
; TOFIX: Remove or not remove ASCII 196/228 char pair?
It's not a Hungarian accented char, it was present
in sixhu852, but since we don't have any obligations
to keep compatibility as the CP is different anyway,
maybe the best would be to clean it.
What is the general opinion in this regard in Harbour?
This commit is contained in:
@@ -17,6 +17,21 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-11-10 03:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
- src/codepage/cphuisos.c
|
||||
- src/codepage/cphuwins.c
|
||||
- Deleted these variants which are no longer needed.
|
||||
|
||||
* src/codepage/cphuiso.c
|
||||
* src/codepage/cphuwin.c
|
||||
* Updated comments.
|
||||
; TOFIX: Remove or not remove ASCII 196/228 char pair?
|
||||
It's not a Hungarian accented char, it was present
|
||||
in sixhu852, but since we don't have any obligations
|
||||
to keep compatibility as the CP is different anyway,
|
||||
maybe the best would be to clean it.
|
||||
What is the general opinion in this regard in Harbour?
|
||||
|
||||
2009-11-10 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/cdpapi.c
|
||||
* harbour/include/hbapicdp.h
|
||||
|
||||
@@ -52,23 +52,12 @@
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: ISO-8859-2 (ntxhu852 flavour) */
|
||||
/* Codepage: ISO-8859-2 */
|
||||
|
||||
/* 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] */
|
||||
/* NOTE: Ä/ä has been added to work like sixhu852.obj for S*ccessWare SIx Driver. [vszakats] */
|
||||
|
||||
#define HB_CP_ID HUISO
|
||||
#define HB_CP_INFO "Hungarian ISO-8859-2 (ntxhu852 flavour)"
|
||||
#define HB_CP_INFO "Hungarian ISO-8859-2"
|
||||
#define HB_CP_UNITB HB_UNITB_8859_2
|
||||
#define HB_CP_ACSORT HB_CDP_ACSORT_NONE
|
||||
#define HB_CP_UPPER "AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ"
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* National Collation Support Module (HUISOS)
|
||||
*
|
||||
* Copyright 1999-2005 Viktor Szakats (harbour.01 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 flavour) */
|
||||
|
||||
/* 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] */
|
||||
|
||||
#define HB_CP_ID HUISOS
|
||||
#define HB_CP_INFO "Hungarian ISO-8859-2 (sixhu852 flavour)"
|
||||
#define HB_CP_UNITB HB_UNITB_8859_2
|
||||
#define HB_CP_ACSORT HB_CDP_ACSORT_NONE
|
||||
#define HB_CP_UPPER "AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ"
|
||||
#define HB_CP_LOWER "aáäbcdeéfghiíjklmnoóöõpqrstuúüûvwxyz"
|
||||
|
||||
/* include CP registration code */
|
||||
#include "hbcdpreg.h"
|
||||
@@ -52,23 +52,12 @@
|
||||
|
||||
/* Language name: Hungarian */
|
||||
/* ISO language code (2 chars): HU */
|
||||
/* Codepage: Windows-1250 (ntxhu852 flavour) */
|
||||
/* Codepage: Windows-1250 */
|
||||
|
||||
/* 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] */
|
||||
/* NOTE: Ä/ä has been added to work like sixhu852.obj for S*ccessWare SIx Driver. [vszakats] */
|
||||
|
||||
#define HB_CP_ID HUWIN
|
||||
#define HB_CP_INFO "Hungarian Windows-1250 (ntxhu852 flavour)"
|
||||
#define HB_CP_INFO "Hungarian Windows-1250"
|
||||
#define HB_CP_UNITB HB_UNITB_1250
|
||||
#define HB_CP_ACSORT HB_CDP_ACSORT_NONE
|
||||
#define HB_CP_UPPER "AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ"
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* National Collation Support Module (HUWINS)
|
||||
*
|
||||
* Copyright 1999-2005 Viktor Szakats (harbour.01 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 flavour) */
|
||||
|
||||
/* 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] */
|
||||
|
||||
#define HB_CP_ID HUWINS
|
||||
#define HB_CP_INFO "Hungarian Windows-1250 (sixhu852 flavour)"
|
||||
#define HB_CP_UNITB HB_UNITB_1250
|
||||
#define HB_CP_ACSORT HB_CDP_ACSORT_NONE
|
||||
#define HB_CP_UPPER "AÁÄBCDEÉFGHIÍJKLMNOÓÖÕPQRSTUÚÜÛVWXYZ"
|
||||
#define HB_CP_LOWER "aáäbcdeéfghiíjklmnoóöõpqrstuúüûvwxyz"
|
||||
|
||||
/* include CP registration code */
|
||||
#include "hbcdpreg.h"
|
||||
Reference in New Issue
Block a user