From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12102 Path: news.gmane.org!.POSTED!not-for-mail From: William Pitcock Newsgroups: gmane.linux.lib.musl.general Subject: iconv output formats other than UTF-8 Date: Mon, 13 Nov 2017 22:32:35 -0600 Message-ID: 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 1510633970 10660 195.159.176.226 (14 Nov 2017 04:32:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Nov 2017 04:32:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12118-gllmg-musl=m.gmane.org@lists.openwall.com Tue Nov 14 05:32:44 2017 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 1eEStv-0002Ni-Ix for gllmg-musl@m.gmane.org; Tue, 14 Nov 2017 05:32:43 +0100 Original-Received: (qmail 1371 invoked by uid 550); 14 Nov 2017 04:32:48 -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 1331 invoked from network); 14 Nov 2017 04:32:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=pNVkBd1hfQOHp3Cja1zjuSh/NjWQB6l+MNUXj/5cu0g=; b=tOtTY7VsL4gY3MpN8BdxFzmu9acHRDkmA+NwKE9PS+xPp0ASKSXZ4EGABC6spr6KQx 0xbE3v8OcQOV5rNFR4TtY7xxwUEmYHzd6+9uFSVZJIIAM5YR6q2qphVKu43j4oTdP8iK KBOfy1mDIP49RIzcqnNrMAX0+QhZ4GpCBpWZCvL47rA0hTxq8kMMrwbaqTn8SP0oHPqQ QxyPKC1KZop8I1iwc/fB0fZmA4NUhjtkXKXoT5ePhktwnTnPHY1FxPrwRjTpgc5wTl/T zT4P7Rihcq9z5RQnpXkv1Sb0Nrv+RYeItDj9W8is3ZPFL2g8MMm1J/63M8unyaMOrf4P VYaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pNVkBd1hfQOHp3Cja1zjuSh/NjWQB6l+MNUXj/5cu0g=; b=USsjwBGMPIzKpurk/vm1CP2CKPZc7q3tCJ03WFWxOP9DpiOC8fnbpqHeOnEeYPKorV 2ekK6u1Aeu9mAfYhMzblGtOGEO1Pw16FTAf0/ZdMCfb2x3xqh73yTH5XYyyJdQXnD9IW +fCMO2emxhVvCZFv/MwHfj2PLl77u2jtoGNb67XIFG1TW5A8UmNVtOALwDg5retyQKyO SVedBpood4k4oT4dNSfdzenzY6DulHuHQ3xFcgpfFha4xtsL10a7MWmPaiFXASCL8bl+ D0DoOaQnWHMy71PrZsJb6bvLdEe7uk5K9am2qWMJk2vYqvOzZMU0ZWSPbts3zy7PClSk X4Dg== X-Gm-Message-State: AJaThX6wo/BQmWHSlo49NJw4ieb4GFihaAgfo9Thn7x1WlGce3TVHJKh ybwzOzn7cc00HvWVOZ45lM0c44Bh0vqkmr9JBweB7w== X-Google-Smtp-Source: AGs4zMYtllt2yjBrqe1v9XYuxe4+UxKvGcElQF8egHqjcttqjmZFiKICYsphlOCwidtHgOigao4HVLc+K5Qlok8vTOo= X-Received: by 10.55.77.67 with SMTP id a64mr16286022qkb.172.1510633956209; Mon, 13 Nov 2017 20:32:36 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:12102 Archived-At: Hello, A common complaint is that applications on Alpine cannot output in encodings other than UTF-8. This causes problems with pre-existing IRC networks and other legacy services where a different text encoding is either preferred or required. As such, this makes the iconv in musl deficient for these use cases. A solution could be to link things like IRC clients against GNU libiconv instead, which we have done in the past on uClibc, but that could lead to other problems when a user observes inconsistent behavior with regards to iconv (one app works, the next app does not). The better solution would be to somehow enable musl to output in encodings other than UTF-8. We are open to contributing patches to enable this, but would like suggestions on how to proceed. If it is unwanted work, please let us know, and we will just ship GNU libiconv instead. William