[Bug 275364] Mk/Scripts/dialog4ports.sh broken for non-UTF8 locales

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 26 Nov 2023 21:42:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275364

            Bug ID: 275364
           Summary: Mk/Scripts/dialog4ports.sh broken for non-UTF8 locales
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: bapt@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: ports-bugs@FreeBSD.org

The following commit broke dialog-based ports configuration for non-UTF8
locales:

https://cgit.freebsd.org/ports/commit/Mk/Scripts/dialog4ports.sh?id=9fee35128080f036c7b318cbbe20067ccca409db

Now it shows garbled output on 8bit terminals due to raw UTF-8 sequences bein
drawn.

Backout of this commit unbreaks output. Please consider more correct solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.