Date: Wed, 22 May 2013 00:20:15 +0200 From: Ed Schouten <ed@80386.nl> To: Jilles Tjoelker <jilles@stack.nl> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale Message-ID: <CAJOYFBD6RKPaGRF7oD54rGcYcZBnL9ZfJSCfLvu21XMcyZ13_w@mail.gmail.com> In-Reply-To: <20130521220003.GB58299@stack.nl> References: <201305211959.r4LJxbLx034714@svn.freebsd.org> <20130521220003.GB58299@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
2013/5/22 Jilles Tjoelker <jilles@stack.nl>: > Our wchar_t is only ISO 10646 for UTF-8 and possibly US-ASCII and > ISO8859-1 (subset) locales. Oh, the horror! I thought on FreeBSD, we used the LC_CTYPE files to do a mapping to ISO 10646. Unfortunately, it seems to be the case that these files are only used to do mappings to uppercase/lowercase/runetype. Bummer. I'll see what I can do to fix this. I'll likely implement something like you suggested, that we return EILSEQ if the locale is not ASCII, ISO8859-1 or UTF-8. -- Ed Schouten <ed@80386.nl>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJOYFBD6RKPaGRF7oD54rGcYcZBnL9ZfJSCfLvu21XMcyZ13_w>