The source project of this merge request has been removed.
main/openrc: set default termencoding to utf-8
not entirely sure if this is the right approach.
the issue is that, while having a LANG that ends with .UTF-8
, applications will send utf8 sequences to the console. e.g., apk's progress bar, various things that want to render bars, ...
but, by default the console will not interpret them correctly. so, they look something like:
adding this escape, from man 4 console_codes
:
ESC % G Select UTF-8
sets it into the correct mode along with the LANG value that we define. so everything should display.. correctly.
however, i don't know if there are potential drawbacks/edge cases to doing this.