From owner-freebsd-gnome@freebsd.org Sat Nov 17 01:52:46 2018 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F3E5110CE69 for ; Sat, 17 Nov 2018 01:52:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 13E2B744C8 for ; Sat, 17 Nov 2018 01:52:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C7A2E110CE68; Sat, 17 Nov 2018 01:52:45 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AE1D110CE67 for ; Sat, 17 Nov 2018 01:52:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E5BA744C3 for ; Sat, 17 Nov 2018 01:52:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2FCB1EDE3 for ; Sat, 17 Nov 2018 01:52:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAH1qiJp013766 for ; Sat, 17 Nov 2018 01:52:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAH1qivs013765 for gnome@FreeBSD.org; Sat, 17 Nov 2018 01:52:44 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 233252] converters/iconv: different output on Linux Date: Sat, 17 Nov 2018 01:52:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bland@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 13E2B744C8 X-Spamd-Result: default: False [0.70 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; NEURAL_SPAM_SHORT(0.70)[0.701,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 01:52:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233252 --- Comment #4 from Jan Beich --- (In reply to Pascal Christen from comment #0) > As you can see, on BSD some characters are with ' or " and on Linux it's > just as expected when using TRANSLIT. Any ideas? iconv() from GNU libc (unlike GNU libiconv) transliterates based on locale data. To do the same on FreeBSD you may need ICU e.g., $ pkg install icu $ echo "=C3=98rn=C3=A6r=C3=A9j=C3=B6" | uconv -f utf-8 -x ascii Ornaerejo (In reply to Pascal Christen from comment #2) > $ echo '=C3=98rn=C3=A6r=C3=A9j=C3=B6' | /usr/bin/iconv -f utf-8 -t ascii/= /TRANSLIT > ?rn?r?j? > iconv: warning: invalid characters: 4 //TRANSLIT is not supported by iconv() from base. Ports that depend on it should define USES=3Diconv:translit and adjust CONFIGURE_ARGS (or similar) = to use GNU libiconv symbols instead. How to switch to ICU for better transliterati= on support doesn't appear to be documented. https://www.freebsd.org/doc/en/books/porters-handbook/using-iconv.html https://www.freebsd.org/doc/en/books/porters-handbook/uses-iconv.html (In reply to Pascal Christen from comment #0) > I asked the same question on the mailing-list without any response freebsd-bugs@ mailing list is filled with bugzilla notifications, so regular questions are often lost in the noise. Better try freebsd-questions@ or pic= k a more specific one but activity may vary. --=20 You are receiving this mail because: You are on the CC list for the bug.=