From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12808 Path: news.gmane.org!.POSTED!not-for-mail From: Will Dietz Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] iconv: fix to=utf32 to behave like utf32be (not... ascii?) Date: Mon, 7 May 2018 13:06:57 -0500 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1525716311 21028 195.159.176.226 (7 May 2018 18:05:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 18:05:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12824-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 07 20:05:07 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fFkVU-0005Lk-6w for gllmg-musl@m.gmane.org; Mon, 07 May 2018 20:05:04 +0200 Original-Received: (qmail 8030 invoked by uid 550); 7 May 2018 18:07:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7996 invoked from network); 7 May 2018 18:07:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wdtz.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=L4k+24ykk1iUTXDxtstuOFy2Xr1hltnyuDmIaG9LQzY=; b=PQlJWZEggb3T5k7wiLzGTgrWd4ZyFfFfMz6ANezmg9E9FvIcw4s4LVMz1iqBVIEQXZ coT/KaBNZwrTaE/IzChGE80luabfJEpUAM79OdgUKG2AoQG+tXvBCb6NvBTbtQiLIG4o IZvXKvSViRhRtQRUhPKmGYki/uNzjOMYbkEQM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=L4k+24ykk1iUTXDxtstuOFy2Xr1hltnyuDmIaG9LQzY=; b=KcFG+7Bm6anxxV13VUkHp6clgsxnfI9/gv+fLYEKeH8gAmhjQaz3wQnOVb/3PgrUBn iwna7wXY3TmCcu/7MOej4/JRthOa9XUwwDWvkbqWmDwmmTTxoXPiSJbqD+szI5c0kEqc BkkpTJLDK07o4UxokCHEnPhCEmeNzR34HfCqzi6oEAxA0kdS7WES+/j9ZMebvwfQYsBK 6iTZWfnPmbaxlVlFKXCJnEnDchI341/TzYHCfjz4t1xXh+VP0AnHPHII2VHDjdGgLH4f HEPEcVoeBxKqklpFBZgNtg2r62NsBzL0BEAPsnZcjBlyrlYx86OoK0QaG4MJgIEZo1QY c/aQ== X-Gm-Message-State: ALKqPwcFIyiwN3NMfBQZHaLMSu/UiQ4zlE1IPT4zkK1iZ5bj0VuE4dLe Otml2GL0BYDyqQ86FT2Go4oEwHVM5xc5Yt4YgzoXFktxSg== X-Google-Smtp-Source: AB8JxZrxK6MgIjE67SFfB6rqAcqwvsVETUy7I+jIBvVGNRrudcyy3xD60Nt8dJrLBuWqyEHPkTB/9g4v+yeHRKwelcU= X-Received: by 2002:a9d:c61:: with SMTP id 88-v6mr211186otr.173.1525716418362; Mon, 07 May 2018 11:06:58 -0700 (PDT) X-Originating-IP: [99.4.166.28] In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12808 Archived-At: Hmm this is more complicated than I originally thought. I'm not sure I understand the current behavior, but am less convinced this is a clear improvement. Thoughts/comments appreciated :). ~Will PS: Did we discuss this years ago? I thought so, but can't find it anywhere... On Thu, May 3, 2018 at 2:45 PM, Will Dietz wrote: > Attached, I think it's just a case of a missing case statement. > > This is needed or the result can't be read back as utf32 which seems > like an important property. > > ~Will