🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51159

GCC and multibyte character support

#51159
From: Zusman Mark
Date: Wed, 07 Jul 1993 06:42
23 lines
1352 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: <9307070934.AA01700@rotem.technion.ac.il>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!math.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,396a92f9c828038f,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-07-06 23:44:19 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!math.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: GCC and multibyte character support
Date: 7 Jul 1993 02:42:50 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9307070934.AA01700@rotem.technion.ac.il>