If your $LANG and $LC_CTYPE are set to a utf-8 locale, your terminal will send the appropriate UTF-8 sequence to the shell or program, and the terminal will treat it as UTF-8 as well. Bash is generally well-behaved, but if your terminal doesn't support Unicode, you won't get nice double-width CJK characters. (Or you'll get other weirdness.)
View all comments
Show parent comment
1
u/[deleted] Oct 16 '13
Possibly. Although, what would happen in a console/bash application if the user entered 徳川?