Files
harbour-core/harbour/src/codepage/cpsl646.c
Viktor Szakats bc70e15c92 2013-01-30 10:34 UTC+0100 Viktor Szakats (harbour syenar.net)
- src/codepage/cphuutf.c
    - deleted now obsolete sample

  * src/codepage/Makefile
  - src/codepage/cpeswinm.c
  - src/codepage/cprukoi.c
  - src/codepage/cpruwin.c
  - src/codepage/cpuakoi.c
  - src/codepage/cpuawin.c
  + src/codepage/cpesmwin.c
  + src/codepage/cpru1251.c
  + src/codepage/cprukoi8.c
  + src/codepage/cpua1251.c
  + src/codepage/cpuakoi8.c
  * src/codepage/cpcs852c.c
  * src/codepage/cpde850m.c
  * src/codepage/cpdk865.c
  * src/codepage/cpel437.c
  * src/codepage/cpes850c.c
  * src/codepage/cpes850m.c
  * src/codepage/cpfr850m.c
  * src/codepage/cpit850m.c
  * src/codepage/cpnl850.c
  * src/codepage/cpnl850m.c
  * src/codepage/cpsk852c.c
  * src/codepage/cpsv850.c
  * src/codepage/cpsv850m.c
  * src/codepage/cpbg866.c
  * src/codepage/cpbgiso.c
  * src/codepage/cpbgmik.c
  * src/codepage/cpbgwin.c
  * src/codepage/cpcsiso.c
  * src/codepage/cpcskamc.c
  * src/codepage/cpcswin.c
  * src/codepage/cpde850.c
  * src/codepage/cpdeiso.c
  * src/codepage/cpdewin.c
  * src/codepage/cpel737.c
  * src/codepage/cpeliso.c
  * src/codepage/cpelwin.c
  * src/codepage/cpes850.c
  * src/codepage/cpesiso.c
  * src/codepage/cpeswin.c
  * src/codepage/cpfi850.c
  * src/codepage/cpfr850.c
  * src/codepage/cpfriso.c
  * src/codepage/cpfrwin.c
  * src/codepage/cphe862.c
  * src/codepage/cphewin.c
  * src/codepage/cphr646.c
  * src/codepage/cphr852.c
  * src/codepage/cphriso.c
  * src/codepage/cphrwin.c
  * src/codepage/cphu852.c
  * src/codepage/cphu852c.c
  * src/codepage/cphuiso.c
  * src/codepage/cphuwin.c
  * src/codepage/cpis850.c
  * src/codepage/cpis861.c
  * src/codepage/cpit437.c
  * src/codepage/cpit850.c
  * src/codepage/cpitisb.c
  * src/codepage/cpitiso.c
  * src/codepage/cpitwin.c
  * src/codepage/cplt775.c
  * src/codepage/cpltwin.c
  * src/codepage/cpno865.c
  * src/codepage/cppl852.c
  * src/codepage/cppliso.c
  * src/codepage/cpplwin.c
  * src/codepage/cppt850.c
  * src/codepage/cppt860.c
  * src/codepage/cpptiso.c
  * src/codepage/cpro852.c
  * src/codepage/cproiso.c
  * src/codepage/cprowin.c
  * src/codepage/cpru866.c
  * src/codepage/cpruiso.c
  * src/codepage/cpskiso.c
  * src/codepage/cpskkamc.c
  * src/codepage/cpskwin.c
  * src/codepage/cpsl646.c
  * src/codepage/cpsl852.c
  * src/codepage/cpsliso.c
  * src/codepage/cpslwin.c
  * src/codepage/cpsr646.c
  * src/codepage/cpsrwin.c
  * src/codepage/cpsv437c.c
  * src/codepage/cpsviso.c
  * src/codepage/cpsvwin.c
  * src/codepage/cptr857.c
  * src/codepage/cptriso.c
  * src/codepage/cptrwin.c
  * src/codepage/cpua1125.c
  * src/codepage/cpua866.c
    + converted all 8-bit encoded CPs to UTF-8
    * renamed all cp filenames to match internal CP ID
    ; NOTE: CP646C aka 'Serbian ISO-646C (Cyrillic YUSCII)'
            was not converted, and I have no idea what to do
            with it. Do it if you know this.
    ; Verify them.
      I was getting all sorts of initialization failures
      with non-UTF8 ones, after converting all of them,
      I'm getting one for 'SR646'.
    ; If this settles, it offers interesting new possiblities,
      because most of the "CP" modules now essentially differ
      only in HB_CP_UNITB setting for a given country/language (=culture).

  ; Now all files inside Harbour repo can ONLY be either
    7-bit ASCII or UTF-8. Nothing. Else.
    Mark all UTF-8 files with (this won't be necessary with GIT):
      'svn propset svn:mime-type "text/plain; charset=UTF-8"'
2013-01-30 09:53:50 +00:00

64 lines
2.6 KiB
C

/*
* $Id$
*/
/*
* Harbour Project source code:
* National Collation Support Module (SL646)
*
* Copyright 2002 Alexander S.Kresin <alexŽbelacy.belgorod.su>
* www - http://harbour-project.org
* 2003 Mitja Podgornik <Mitja.PodgornikŽzgs.gov.si>
*
* 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.txt. 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.
*
*/
#define HB_CP_ID SL646
#define HB_CP_INFO "Slovenian ISO-646 (SLOSCII)"
#define HB_CP_UNITB HB_UNITB_646YU
#define HB_CP_ACSORT HB_CDP_ACSORT_NONE
#define HB_CP_UPPER "ABCČĆDĐĐEFGHIJKLMNOPQRSŠTUVWXYZŽ"
#define HB_CP_LOWER "abcčćdđefghijklmnopqrsštuvwxyzž"
#define HB_CP_UTF8
/* include CP registration code */
#include "hbcdpreg.h"