mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Webkit/JavascriptCore did not work with musl libc
Date: Thu, 16 Oct 2014 13:34:54 +0200	[thread overview]
Message-ID: <20141016113454.GH4874@port70.net> (raw)
In-Reply-To: <543F6583.9060408@i-soft.com.cn>

* ????????? <jianzhong.huang@i-soft.com.cn> [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


  reply	other threads:[~2014-10-16 11:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15  5:58 黄建忠
2014-10-15 10:02 ` Natanael Copa
2014-10-16  1:53   ` 黄建忠
2014-10-16  2:08     ` Rich Felker
2014-10-16  6:28       ` 黄建忠
2014-10-16 11:34         ` Szabolcs Nagy [this message]
2014-10-16  1:56   ` 黄建忠
2014-11-04  2:29   ` 黄建忠

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141016113454.GH4874@port70.net \
    --to=nsz@port70.net \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).