freebsd-skq/usr.bin/mklocale
Poul-Henning Kamp 7a55a3c230 I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.

This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.

Submitted by:	Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
1998-08-15 12:51:49 +00:00
..
data I have added the support for BIG5 encoding into libc/libxpg4/mklocale. 1998-08-15 12:51:49 +00:00
ldef.h u_long -> unsigned long so that we don't depend on namespace pollution 1994-09-05 14:02:42 +00:00
lex.l Backout yacc changes. 1996-06-02 17:22:01 +00:00
Makefile Added y.tab.h to SRCS. This should have been used to get dependencies 1998-05-05 13:16:35 +00:00
mklocale.1 Show the real revision date and not the date that this 1997-06-23 04:03:49 +00:00
README.locale_name Add quick description of rules how to build locale name, 1994-12-04 20:12:10 +00:00
yacc.y Fixed printf format errors. 1998-08-02 15:18:45 +00:00

Locale name string format must be compliant with XPG3 and
using following format.
	<locale name>   ::= <language>_<territory>.<encoding>
	<language>      ::= based on ISO 639
	<territory>     ::= based on ISO 3166 (country code)
	<encoding>      ::= "EUC", "KOI8-R", ...