From owner-freebsd-i18n Fri Mar 8 10:11:14 2002 Delivered-To: freebsd-i18n@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 223B237B404; Fri, 8 Mar 2002 10:11:09 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g28IB2t40133; Fri, 8 Mar 2002 13:11:02 -0500 (EST) (envelope-from wollman) Date: Fri, 8 Mar 2002 13:11:02 -0500 (EST) From: Garrett Wollman Message-Id: <200203081811.g28IB2t40133@khavrinen.lcs.mit.edu> To: Tomas Pluskal Cc: freebsd-i18n@FreeBSD.ORG, Subject: multibyte(3) functions not working ? In-Reply-To: <20020308134119.J214-100000@s096-n062.tele2.cz> References: <20020308134119.J214-100000@s096-n062.tele2.cz> Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > 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.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message