[Bug 280535] make config uses wrong locale

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Jul 2024 13:15:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280535

            Bug ID: 280535
           Summary: make config uses wrong locale
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: g.s@arcor.de

I'm sorry, if I misclassified the component, but I don't know where this is
coming from. I upgraded from FreeBSD 13.2-RELEASE to 13.3-RELEASE and when I'm
running "make config" in a port directory (e.g.
/usr/ports/ports-mgmt/portmaster), it seems to use UTF-8 charactes in my C
locale.
I'm using X11, locale says:
LANG=C
LC_CTYPE=de_DE.ISO8859-1
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

I launch an xterm with that locale and run "make config" and it looks like
this:

           ââââââââââââââââââââ¤portmaster-3.29_2âââââââââââââââââââ           
           â 'F1' for Ports Collection help.                      â             
           â ââââââââââââââââââââââââââââââââââââââââââââââââââââ             
           â â[ ] BASH Install programmable completions for Bashâ â             
           â â[ ] ZSH  Install programmable completions for zsh â â             
           â ââââââââââââââââââââââââââââââââââââââââââââââââââââ             
           âââââââââââââââââââââââââââââââââââââââââââââââââââââââ⤠          
           â                 [  OK  ]     [Cancel]                â             
           ââââââââââââââââââââââââââââââââââââââââââââââââââââââââ             

On 13.2-RELEASE I had proper line-drawing characters with the same locale.

> freebsd-version -kru
13.3-RELEASE-p3
13.3-RELEASE-p3
13.3-RELEASE-p4

-- 
You are receiving this mail because:
You are the assignee for the bug.