Add support for East Asian Double width chars

In consoles, Emacs does not know the width of certain East Asian
characters, causing confusion when editing.  Setting iTerm2 to treat
ambiguous width as double width helps with display.  The added function
solves the problem for emacs.