🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51146

Multibyte character support in GCC

#51146
From: Zusman Mark
Date: Mon, 05 Jul 1993 09:21
23 lines
1358 bytes
 
 Hello, 
 
 I'm trying to add Asian language support to our application (on Solaris 2.x),
 and I discovered that the file limits.h (which resides in the directory
 /usr/local/lib/gcc-lib/sparc-sun-solaris2/2.4.5/include) contains the lines:
 
 /* No multibyte characters supported yet.  */
 #undef MB_LEN_MAX
 #define MB_LEN_MAX 1
 
 While in the original Sun-supplied /usr/include/limits.h it says:
 #define MB_LEN_MAX      5
 
 Can someone explain us what is the significance of this?
 Is it safe to simply modify the constant in the gcc limits.h and link to the
 Sun-supplied libraries (libc.a and libintl.a) which contain all the
 mutli-byte character functions? 
 
 
				Thanks in advance,

				Mark Zusman
Technical Details
Message-ID: <9307051318.AA12957@rotem.technion.ac.il>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!wupost!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rotem.technion.ac.il!marklz

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4121f437c9856b84,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-05 02:28:39 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uunet!wupost!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!rotem.technion.ac.il!marklz
From: marklz@rotem.technion.ac.il (Zusman Mark)
Newsgroups: gnu.gcc.help
Subject: Multibyte character support in GCC
Date: 5 Jul 1993 05:21:11 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9307051318.AA12957@rotem.technion.ac.il>