From nobody Wed Jun 10 15:02:35 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gb8CH5H26z6gbtp for ; Wed, 10 Jun 2026 15:02:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gb8CH47ZQz3Z5L for ; Wed, 10 Jun 2026 15:02:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781103755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NSQTKbHQenE8H6JuwW2pJGpry+0p9l0trkZdFsxxYio=; b=Coz1pLvoNMNXnYCmYkFrXVL3Q5aRCljTXgKijtGz6tsCriUH2YKYPFV0v7AjSLh6x0jH6c pHePGe36kaOk1rTAEKItnId9WpGROkQEgY8GlLRpWoIbcxZqOq5zse+5oxpB1oBxfkOWcB puDtmIF6NFgbHWdM0i7x2SlL6d0qSX8AR+gCF8gb+DW9WUbtQin/pvu7x/xvo/nEdGXjNW eAb2I4NvqKN5sLnZfjEMdQ1FxllLiOQ+A+kQhVp2GWnZK7uwyvwuHMpvh4xWVDcvNzvAIg L0P1HcsF23nKMlY2SMYNHycM9qSileAXS7iqkgY5pmNBqUtudLIb+DGuKz41EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1781103755; a=rsa-sha256; cv=none; b=tqUnLE9RkAmkXpy8HtRTnvgnUkrugy6cuzehaOxhZ9ALM49vTOoOFURhh0e9kzdL87NREt nKHP/OSlLAxBMpPUaJT9bG0KF/uTo9uEtnOF4fK90HXqUMXnkwP5OUHGbN2UW7WE6ligjt SxC6U+9BCkEAOCAzQLr4DRMd3WUdaEpr7YA4R/rPe2kUfu+1i1LXyXS97gajWR2y0YIDE3 DmA3vMvPIMfffAnySei+IJuzGIx/oQKkYUOeA4KpuFn7DHysgQVWWZelWdnEzaWVCzkmEH H2EQDhAAYHmW/sYwnRrIr4sNPZgdG96zNcWQGAgmivME8ysmZANYSOiSJTTFEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1781103755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NSQTKbHQenE8H6JuwW2pJGpry+0p9l0trkZdFsxxYio=; b=Mlu9aoQ15yA+QfVrOX8krGNkG3EseB81sYUoTAvkcdSluwTiQQHYcx9IpoNuC7vo8LZBYF 5gB/jS8+JiTQJaOM4yYkPZctXPyRi0eIgn492SqjTNNt1Ixjxnmv2YJTLTw34jrawC0Hu8 aST6ULuJmlPiLnBe/49Ml0SeeU8CSUG3HOm1YHrTJ97GoeWaa8XFwY+jGRNpg3o6ZMo+WG H3NC4lw8RGxFknhToPo+Oq2YtBjfqdnqRoW+H4kU8smUX1+z4nPf3Yqx/3AbwPqfnQKE98 BSYEYTImcz0us6ajMmd9Ztc1eqjFpZUJN77bExIPXCUBoiRg+j5PLM1CwA7dVg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4gb8CH2y1rz1Pky for ; Wed, 10 Jun 2026 15:02:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 65AF2ZDP014728 for ; Wed, 10 Jun 2026 15:02:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 65AF2ZJM014727 for ports-bugs@FreeBSD.org; Wed, 10 Jun 2026 15:02:35 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: ports-bugs@FreeBSD.org Subject: [Bug 295945] Set the ports tree locale to C.UTF-8 in Mk/bsd.port.mk and retire USE_LOCALE Date: Wed, 10 Jun 2026 15:02:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295945 --- Comment #6 from Robert Clausecker --- (In reply to Tijl Coosemans from comment #5) Please understand that the string "J=C3=B6rg Schilling" exists as a test ca= se for a planned localisation effort. So removing gettext() in favour of an iconv() call misses the point of why it's there. The locale of the entire project = is ISO 8859-1 and cannot be changed easily due to the project doing direct str= ing manipulation all over the place. Just changing the translation strings to UTF-8 while leaving the rest in ISO 8859-1 is a recipe for disaster, as we then get mixed-encoding source files. > Gettext treats C. as untranslated now. Yeah, that kind of sucks. I'm not sure what the maintainer was thinking th= ere, as this also breaks cases where projects use strings that shouldn't go dire= ctly to the user for the key (e.g. to disambiguate messages that are equal in en= .US but distinct in other languages). I guess I'll have to talk to the gettext maintainers once again. In any case, please understand my objection as not being about this project= in particular, but about it being a really bad idea to remove locale support j= ust because you find it fashionable to do so. --=20 You are receiving this mail because: You are on the CC list for the bug.=