Hi all,
What’s the best way to determine the current charset, i.e., the value I
need to give to Iconv as the ‘to’ encoding so that converted characters
display correctly on the terminal?
My current best guess is: locale -c LC_CTYPE|head -6|tail -1
.