Correctly handle Unicode/UTF-8 terminal settings names.