RE: utf-8 Locale support on Solaris and Linux

UTF-8 is not a locale.  UTF-8 is a multi-byte encoding of the
Unicode repetoire of characters.

The behavior of the standard C functions depends on the
compiler and the system that you are using.

In order to get standard cross-platform support for
Unicode strings, I recommend using the ICU library.

http://www-124.ibm.com/icu/

-Paul

Paul Deuter
Internationalization Manager
Plumtree Software
paul.deuter@plumtree.com 
 


-----Original Message-----
From: Richard, Francois M [mailto:Francois.M.Richard@usa.xerox.com]
Sent: Thursday, September 27, 2001 1:28 PM
To: 'www-international@w3.org'
Subject: utf-8 Locale support on Solaris and Linux


A basic question I guess...

Do C functions like strlen(), isaplha() and other locale sensitive C
functions behave properly when Locale has been set to utf-8?

Or do I have to use the wide character functions like wcslen(),
iswaplha()
with wchar_t datatype?

Francois

Received on Thursday, 27 September 2001 16:51:51 UTC