]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the hard-coded limit of 3 bytes for EUC encodings.
authorasmodai <asmodai@FreeBSD.org>
Sun, 14 Apr 2002 10:55:42 +0000 (10:55 +0000)
committerasmodai <asmodai@FreeBSD.org>
Sun, 14 Apr 2002 10:55:42 +0000 (10:55 +0000)
commit3b69e0094ce6b020016ab6d398abcd617b712a6c
tree3d58831244c9c5adcc95db1f796fdd5c4b9c8c50
parent9c6b97e0231072e9dc4cd0c3b8376e5aec63e95e
Remove the hard-coded limit of 3 bytes for EUC encodings.
Satoshi NIIMI-san kindly explained that EUC does not limit the byte length to
any arbitrary number.

We now set the limit to the maximum octet length of the codeset and it is
locale-specific.

Submitted by: Yong-Jhen Hong <winard@ms11.url.com.tw>
lib/libc/locale/euc.c