Bug 275364

Summary: Mk/Scripts/dialog4ports.sh broken for non-UTF8 locales
Product: Ports & Packages Reporter: Eugene Grosbein <eugen>
Component: Ports FrameworkAssignee: Baptiste Daroussin <bapt>
Status: New ---    
Severity: Affects Some People CC: asiciliano, firk, freebsd, freebsd, leres, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274472
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275304

Description Eugene Grosbein freebsd_committer freebsd_triage 2023-11-26 21:42:49 UTC
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.