W3C home > Mailing lists > Public > www-international@w3.org > July to September 2001

RE: utf-8 Locale support on Solaris and Linux

From: Paul Deuter <Paul.Deuter@plumtree.com>
Date: Thu, 27 Sep 2001 13:51:56 -0700
Message-ID: <C7F00D7948B8E4468BB330152C6BA4E00AACDE@cstaex03.USIPLUMTREE.AD>
To: "Richard, Francois M" <Francois.M.Richard@usa.xerox.com>, <www-international@w3.org>
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.



Paul Deuter
Internationalization Manager
Plumtree Software

-----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(),
with wchar_t datatype?

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:45 UTC