🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2740

Re: wchar_t values

#2740
From: Erik M. van der Poel
Date: Fri, 12 Apr 1991 06:16
39 lines
2200 bytes
I'm directing followups to comp.std.internat. I apologize to
comp.std.c readers for the current noise level, which I seem to have
started.


Al Harkcom writes:
>    Though the term EUC is used as the name of an encoding scheme, it is
> also the name used for the multibyte encoding of the JIS standard using
> SS2 and SS3 single shifts.

Yes, people often say "EUC" when they mean "Japanese EUC". That
doesn't mean that they are right. Think of it this way: EUC is the
generic international `class', while UJIS is a name for the particular
Japanese `instance'.

Also, you refer to "the JIS standard". This is rather misleading,
since several implementations use *two* JIS standards, namely JIS X
0208 (Kanji, etc) and the right-hand part of JIS X 0201 (`half-sized'
Katakana, etc).


> UJIS is the name used to refer to the 2 byte
> encoding of the EUC scheme JIS standard. The 2 byte (4 byte on HP) wide
> character encodings for Japanese are usually UJIS...

Perhaps we're getting confused because we are looking at different
documents. I got my information from a paper by Yasushi Nakahara,
"Nihongo Koodo No Genjo To Mondaiten", Jan. 1988. In this paper, he
says that UJIS was the name that the Sigma project gave to a Japanese
usage of EUC. He refers to codesets 1, 2 and 3 (i.e. not only 0208
Kanji, etc).

According to this paper, UJIS is not a 2 byte code. It is an encoding
in which characters require 1, 2 or 3 bytes each. I.e. it is an mb
code, definitely not a wc code.
-
-- 
Erik M. van der Poel                                      erik@sra.co.jp
Software Research Associates, Inc., Tokyo, Japan     TEL +81-3-3234-2692
Technical Details
Message-ID: <1130@sranha.sra.co.jp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!srava!erik
References: <HARKCOM.91Apr11091529@spinach.pa.yokogawa.co.jp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!srava!erik
From: erik@srava.sra.co.jp (Erik M. van der Poel)
Newsgroups: comp.std.c,comp.std.internat
Subject: Re: wchar_t values
Message-ID: <1130@sranha.sra.co.jp>
Date: 12 Apr 91 06:16:14 GMT
References: <HARKCOM.91Apr11091529@spinach.pa.yokogawa.co.jp>
Sender: news@sranha.sra.co.jp
Followup-To: comp.std.internat
Organization: Software Research Associates, Inc., Japan
Lines: 39
Nntp-Posting-Host: srava