Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Aug 1996 19:49:16 +0900
From:      Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A.    Chernov) <ache@nagual.ru>
Cc:        hackers@FreeBSD.ORG, hidekazu@cs.titech.ac.jp
Subject:   Re: Wrong locale(japanese) ?? 
Message-ID:  <199608111049.TAA14107@oyoyo.cs.titech.ac.jp>
In-Reply-To: Your message of "Fri, 09 Aug 1996 19:08:59 %2B0400." <199608091509.TAA00432@nagual.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199608091509.TAA00432@nagual.ru>,
    =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru> wrote:
> 
> > When the LANG variable is "ja_JP.EUC", this program return "error!".
> > 
> > But the LANG varieble is other(except "ja*" or "Ja*"), return
> > 
> > "success!".
> > 
> > Why ?
> > 
> > Is the /usr/share/locale/ja_JP.EUC/LC_CTYPE file wrong ?
> 
> EUC encoding not supported unless you specify -lxpg4
> There is no known proper way yet to support EUC in userland programs.
> 

Very thanks!!

That program compiled with -lxpg4 return "success", when LANG =
"ja_JP.EUC".


But, why the EUC encoding isn't supported in the library libc ??

All programs which use a setlocale function without the -lxpg4 link option

will cause Error "Cannot set locale.".

Do FreeBSD "japanese" packages which need to link a shared libc library 

or ports without the -lxpg4 link option cause any problem ??


> Andrey A. Chernov
> <ache@nagual.ru>
> http://www.nagual.ru/~ache/
> 
                          \\\\\\
                          ( @ @ )
 /-------------------oOOo---(_)---oOOo-------------------\
 |                                                       |
 |             Tokyo Institute of Technology             |
 | Department of Science and Engneering    Lab. Yonezaki |
 | Hidekazu Kuroki   (E-Mail : hidekazu@cs.titech.ac.jp) |
 |                     .oooO   Oooo.                     |
 \_____________________(   )___(   )_____________________/
                        \ (     ) /
                         \_)   (_/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608111049.TAA14107>