From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6347 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Webkit/JavascriptCore did not work with musl libc Date: Thu, 16 Oct 2014 13:34:54 +0200 Message-ID: <20141016113454.GH4874@port70.net> References: <543E0D12.2010903@i-soft.com.cn> <20141015120211.42a4f0db@ncopa-desktop.alpinelinux.org> <543F24FD.6000604@i-soft.com.cn> <20141016020849.GW32028@brightrain.aerifal.cx> <543F6583.9060408@i-soft.com.cn> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1413459316 14891 80.91.229.3 (16 Oct 2014 11:35:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2014 11:35:16 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6360-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 16 13:35:10 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XejKn-0005Ay-6L for gllmg-musl@plane.gmane.org; Thu, 16 Oct 2014 13:35:09 +0200 Original-Received: (qmail 9756 invoked by uid 550); 16 Oct 2014 11:35:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9748 invoked from network); 16 Oct 2014 11:35:07 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <543F6583.9060408@i-soft.com.cn> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:6347 Archived-At: * ????????? [2014-10-16 14:28:19 +0800]: > C/posix equals to UTF8, some testcase need to adjust. > Lack of predefined locale, there are some locale-dependent codes. for > example, seperators, date time format, locale-dependent sort etc. It's buggy > to write locale-dependent codes but it exist. whether the C locale should be allowed to be utf8 is debated by the posix committee, but the current c and posix standards allow it locale dependent encoding can break many things (encoding depends on globals and/or thread local data) and there is no reason not to use the same encoding (utf8) for all locales (special encodings can be handled by iconv or other apis without global state) if you know of situations where musl does not work, but should then please report it > Another problem about multilingul is the poor iconv, some source may > compiled but not works as expected. gnu/libiconv can be used as a > suppliment, but there are also some testcase can not pass. can you give examples of issues? musl iconv should support most relevant encodings if you know of missing but widely used ones then please report them