Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.6 Release Notes: HP-UX Servers and Workstations > Chapter 9 Internationalization

Hong Kong Supplementary Character Set (HKSCS)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

System level support is provided for support of the HKSCS (Hong Kong Supplementary Character Set) extension to the Big5 encoding for Hong Kong.

HKSCS is a collection of 4,702 characters defined by the Hong Kong Special Administration Region (HKSAR) government in September, 1999. These characters are specific to the Hong Kong region and are intended to be a common set of characters in use for computing requirements throughout Hong Kong.

Summary of Change

Systems level support has been provided to allow for the input, storage, retrieval, display and printing of HKSCS characters. This support is based on the repertoire specified in Unicode 2.1 and the ISO 10646-1:1993 standards.

HKSCS support has been provided in HP-UX 11i v1.6 via a new locale, iconv converters, fonts, and updates to Xlib, CDE, input method, and printer model files.

Details of Change

A new locale has been provided, zh_HK.hkbig5, to support the HKSCS specified character repertoire within the Big5 encoding.

This locale is a renaming of the zh_HK.big5 locale, which was first offered in HP-UX 11i v1.0. This rename was required since unexpected results in the display of HKSCS characters could occur due to conflicts in the codeset name with the zh_TW.big5 locale.

New iconv converters have been provided to allow for conversion between HKSCS big5-based encodings, Unicode, and UTF-8.

List of converter tables added:

  • hkbig5 <-> ucs2

  • hkbig5 <-> utf8

X11R6 Xlib has been enhanced to provide support for the zh_HK.hkbi5 locale.Five new bitmap fonts are supplied to display all the characters defined in HKSCS in CDE and in the X Window System. Printer model files have also been enhanced to print all the HKSCS characters on HP legacy line printers, Laserjet printers supporting PCL5, and third party printers using ESC/P emulation.

Bitmap Fonts:

The following five new bitmap fonts are provided under /usr/lib/X11/fonts/hp_chinese_t/75dpi along with fonts.alias:

Table 9-5 New HKSCS Bitmap Fonts

Filename Fontname
sung18hh.pcf -hp-sung-medium-r-normal--18-180-75-75-c-160-hphkbig5-
sung24hh.pcf -hp-sung-medium-r-normal--24-240-75-75-c-240-hphkbig5-
sung34hh.pcf -hp-sung-medium-r-normal--34-340-75-75-c-340-hphkbig5-
sung42hh.pcf -hp-sung-medium-r-normal--42-420-75-75-c-420-hphkbig5-
sung50hh.pcf -hp-sung-medium-r-normal--50-500-75-75-c-500-hphkbig5-

 

Those fonts contain all the Big5 and HKSCS characters assigned to defined code point in the standard.

Input Method:

The xtim input method allows the use of the big5 internal code input method to generate HKSCS characters. The user must enter the 4-digit hexadecimal code for the character.

Printing:

PCL5.nloo is a printer model file that works with the lp subsystem to print text files containing Asian multi-byte characters on a LaserJet (PCL5 emulation) which does NOT have any multi-byte font DIMMs installed. PCL5.nloo is enhanced to print text files containing Big5 and/or HKSCS characters when zh_HK.hkbig5 is designated as one of the print options. Note that PCL5.nloo does not use any Asian font DIMM even if the LaserJet has the font DIMM installed.

ESCP is another model file to print Asian multi-byte characters on ESC/P emulation printers. It requires that Asian fonts be previously installed in the printers.

hpc1200at is another model file to print on HP legacy HP C1200A/C1205A line printers. It requires printers have the Big5 font installed.

Here is a list of primary printing options related to HKSCS:

Table 9-6 HKSCS Primary Print Options

Option Behavior
zh_HK.hkbig5 designate Big5 and HKSCS text input
half or 22-in-1 printing
quarter or 4 4-in-1 printing
udc or udcfspecify UDC file to print

 

Common Desktop Environment (CDE):

CDE provides the same level of support for the zh_HK.hkbig5 locale as was provided at HP-UX 11i v1.0 for the zh_TW.big5 locale.

User Defined Character (UDC):

The xudced, an UDC editor to create/modify UDC files, has been enhanced to work with the zh_HK.hkbig5 locale. When the locale is designated, it starts with the first code point defined by HKSCS. Created UDCs can be printed on above printers using the udc or udcf option.

Impact

Base offering (installed on all systems); Approximately 7MB additional disk space is required.

No additional memory requirements are needed for running in the zh_HK.hkbig5 locale.

Compatibility

The zh_HK.big5 locale provided in HP-UX 11i is now renamed to zh_HK.hkbig5 in HP-UX 11i v1.6 and future releases to avoid display conflicts due to the codeset name overlap with the zh_TW.big5 locale.

Any application that expected the zh_HK.big5 locale name in HP-UX 11i v1.0 should now use the zh_HK.hkbig5 locale instead for HP-UX 11i v1.6 and later releases.

The behavior for zh_HK.hkbig5 is designed to be upward compatible with that for zh_HK.big5 with the exception of the UDC code area.

Performance

There is no impact to performance.

Obsolescence

Not applicable.

Documentation

No documentation changes were necessary.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.