Date: Thu, 14 Jan 2021 13:11:29 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 252670] Incorrect l10n tip in freebsd-tips fortune file Message-ID: <bug-252670-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252670 Bug ID: 252670 Summary: Incorrect l10n tip in freebsd-tips fortune file Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Documentation Assignee: doc@FreeBSD.org Reporter: mcdutchie@hotmail.com The following tip, in /usr/share/games/fortune/freebsd-tips line 112-115: In order to support national characters for European languages in tools like less without creating other nationalisation aspects, set the environment variable LC_ALL to 'en_US.UTF-8'. needs fixing in two ways: 1. The LC_ALL variable is only for temporary overrides and should never be set permanently, as it overrides all specific LC variables such as LC_COLLATE, LC_TIME and LC_MONETARY. Instead, the variable LANG should be set. 2. The value en_US.UTF-8 may work, but should be changed to C.UTF-8, as this locale is specifically provided for this purpose. So change line 114 from variable LC_ALL to 'en_US.UTF-8'. to variable LANG to 'C.UTF-8'. This is also not limited to European languages, so change line 112 from In order to support national characters for European languages in tools like to In order to support characters for non-English languages in tools like -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252670-9>
