Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 19:16:53 +0100 (CET)
From:      Tomas Pluskal <plusik@pohoda.cz>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        freebsd-i18n@FreeBSD.ORG, <freebsd-bugs@FreeBSD.ORG>
Subject:   Re: multibyte(3) functions not working ?
Message-ID:  <20020308191246.H1072-100000@s096-n062.tele2.cz>
In-Reply-To: <200203081811.g28IB2t40133@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 8 Mar 2002, Garrett Wollman wrote:

> >  setlocale(LC_ALL, "cs_CZ.ISO8859-2");
> >  x=wctomb(s, 0x0161);
>
> You have specified a locale which does not have a multibyte encoding.
>
> If you want to use ISO 10646, you'll have to create a locale which
> specifies it.  FreeBSD supports UTF-8 (under the obsolete name
> ``UTF-2''), but no locales are provided or supported which use that
> character set.  You can translate between ISO 10646 and your locale's
> current character set, ISO 8859-2, using the iconv() library
> function.  (This is not currently provided in FreeBSD, but the ports
> collection contains several librararies which implement it.)

Thanks for response,

I know that ISO8859-2 is not multibyte encoding, but in fact gnumeric,
gedit (and I believe a lot of other software) expect the multibyte
functions to work anyway (and to work as "translate characters from
current locale's encoding to UNICODE" and reverse).

Why does this work in linux ?

Tomas Pluskal




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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