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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to