A fix for non-English input issue.

Extended ASCII characters input issue, window title bar issue.