meta data for this page
  •  

InterBase character sets and collation orders

Character set Charset ID Max. char size Min. char size Collation orders
ASCII 2 1 byte 1 byte ASCII
BIG_5 56 2 bytes 1 byte BIG_5
CYRL 50 1 byte 1 byte CYRL
DB_RUS
PDOX_CYRL
DOS437 10 1 byte 1 byte DOS437
DB_DEU437
DB_ESP437
DB_FIN437
DB_FRA437
DB_ITA437
DB_NLD437
DB_SVE437
DB_UK437
DB_US437
PDOX_ASCII
PDOX_INTL
PDOX_SWEDFIN
DOS850 11 1 byte 1 byte DOS850
DB_DEU850
DB_ESP850
DB_FRA850
DB_FRC850
DB_ITA850
DB_NLD850
DB_PTB850
DB_SVE850
DB_UK850
DB_US850
DOS852 45 1 byte 1 byte DOS852
DB_CSY
DB_PLK
DB_SLO
PDOX_CSY
PDOX_HUN
PDOX_PLK
PDOX_SLO
DOS857 46 1 byte 1 byte DOS857
DB_TRK
DOS860 13 1 byte 1 byte DOS860
DB_PTG860
DOS861 47 1 byte 1 byte DOS861
PDOX_ISL
DOS863 14 1 byte 1 byte DOS863
DB_FRC863
DOS865 12 1 byte 1 byte DOS865
DB_DAN865
DB_NOR865
PDOX_NORDAN4
EUCJ_0208 6 2 bytes 1 byte EUJC_0208
GB_2312 57 2 bytes 1 byte GB_2312
ISO8859_1 21 1 byte 1 byte ISO8859_1
CC_ESPLAT1
CC_PTBRLAT1
DA_DA
DE_DE
DU_NL
EN_UK
EN_US
ES_ES
FI_FI
FR_CA
FR_FR
IS_IS
IT_IT
NO_NO
PT_PT
SV_SV
ISO8859_2 22 1 byte 1 byte ISO8859_2
CS_CZ
PL_PL
ISO8859_15 39 1 byte 1 byte ISO8859_15
DA_DA9
DE_DE9
DU_NL9
EN_UK9
EN_US9
ES_ES9
FI_FI9
FR_CA9
FR_FR9
IS_IS9
IT_IT9
NO_NO9
PT_PT9
SV_SV9
KO18R 58 1 byte 1 byte RU_RU
KSC_5601 44 2 bytes 1 byte KSC_5601
KSC_DICTIONARY
NEXT 19 1 byte 1 byte NEXT
NXT_DEU
NXT_FRA
NXT_ITA
NXT_US
NONE 0 1 byte 1 byte NONE
OCTETS 1 1 byte 1 byte OCTETS
SJIS_0208 5 2 bytes 1 byte SJIS_0208
UNICODE_BE
UCS2BE 8 2 bytes 2 bytes N/A at this time
UNICODE_FSS 3 3 bytes 1 byte UNICODE_FSS
UNICODE_LE
UCS2LE 64 2 byte 2 bytes N/A
UTF_8 59 1 byte 4 bytes N/A at this time
WIN1250 51 1 byte 1 byte WIN1250
PXW_CSY
PXW_HUNDC
PXW_PLK
PXW_SLO
WIN1251 52 1 byte 1 byte WIN1251
PXW_CYRL
WIN1252 53 1 byte 1 byte WIN1252
PXW_INTL
PXW_INTL850
PXW_NORDAN4
PXW_SPAN
PXW_SWEDFIN
WIN1253 54 1 byte 1 byte WIN1253
PXW_GREEK
WIN1254 55 1 byte 1 byte WIN1254
PXW_TURK

Support for Paradox and dBASE

Many character sets and their corresponding collations are provided to support Paradox for DOS, Paradox for Windows, dBASE for DOS, and dBASE for Windows.

Character Sets for DOS

The following character sets correspond to MS-DOS code pages, and should be used to specify character sets for InterBase® databases that are accessed by Paradox for DOS and dBASE for DOS:

Character sets corresponding to DOS code pages

Character set DOS code page
DOS437 437
DOS850 850
DOS852 852
DOS857 857
DOS860 860
DOS861 861
DOS863 863
DOS865 865

The names of collation orders for these character sets that are specific to Paradox begin “PDOX”. For example, the DOS865 character set for DOS code page 865 supports a Paradox collation order for Norwegian and Danish called “PDOX_NORDAN4”.

The names of collation orders for these character sets that are specific to dBASE begin “DB”. For example, the DOS437 character set for DOS code page 437 supports a dBASE collation order for Spanish called “DB_ESP437”.

For more information about DOS code pages, and Paradox and dBASE collation orders, see the appropriate Paradox and dBASE documentation and driver books.

Character sets for Microsoft Windows

There are five character sets that support Windows client applications, such as Paradox for Windows. These character sets are WIN1250, WIN1251, WIN1252, WIN1253, and WIN1254.

The names of collation orders for these character sets that are specific to Paradox for Windows begin “PXW”. For example, the WIN1252 character set supports a Paradox for Windows collation order for Norwegian and Danish called “PXW_NORDAN4”.

For more information about Windows character sets and Paradox for Windows collation orders, see the appropriate Paradox for Windows documentation and driver books.

Additional character sets and collations

Support for additional character sets and collation orders is constantly being added to InterBase®. To see if additional character sets and collations are available for a newly created database, connect to the database with isql, then use the following set of queries to generate a list of available character sets and collations:

SELECT RDB$CHARACTER_SET_NAME, RDB$CHARACTER_SET_ID
  FROM RDB$CHARACTER_SETS
  ORDER BY RDB$CHARACTER_SET_NAME;

SELECT RDB$COLLATION_NAME, RDB$CHARACTER_SET_ID
  FROM RDB$COLLATIONS
  ORDER BY RDB$COLLATION_NAME;

Source: InterBase® 2009 Language Reference Guide

Last updated 2010-02-23


Any comments? Send an email to register@ibexpert.biz

COPYRIGHT © 2002-2022 HK-Software, IBExpert Ltd. All rights reserved.

All IBExpert brand and product names are trademarks or registered trademarks of IBExpert Ltd in Malta and other countries.

InterBase, Delphi, CodeGear, C++Builder, Delphi/400, Delphi for PHP and JBuilder are trademarks or registered trademarks of Embarcadero Technologies Inc. in the United States and other countries. Firebird is a registered trademark of the FirebirdSQL Foundation.

Turbo Pascal is a registered trademark of Borland International, Inc. Sun, Java, JavaScript and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the United States and other countries. UNIX is a registered trademark in the United States and other countries, exclusively licensed through “The Open Group”.

Oracle is a registered trademark of Oracle Corporation in the United States and other countries. All Microsoft brand and product names are trademarks or registered trademarks of Microsoft Corporation in the United States and other countries.

AS/400, DB2, IBM, Informix and iSeries are trademarks or registered trademarks of IBM Corporation in the United States and other countries. Linux is a registered trademark of Linux Torvalds. dBASE is a trademark of dataBased Intelligence, Inc. Skype is a registered trademark of Skype Ltd., in the United States and other countries.

All other product names mentioned herein and throughout the entire web site are trademarks of their respective owners.