mitotic / graphterm

A Graphical Terminal Interface that extends xterm by adding GUI-like features and session sharing
http://code.mindmeldr.com/graphterm
Other
150 stars 16 forks source link

Unable to paste UTF-8 input #4

Closed mitotic closed 11 years ago

mitotic commented 11 years ago

From mailing list:

Can't seem to enter Japanese on the graphterm client; nor even paste using the action Paste Special. :( I get this error when I attempt to Paste Special:

'ascii' codec can't encode characters in position 14-16: ordinal not in range(128)

I know UTF-8 clean terminals are still a struggle in 2012, UTF-8 displays fine, but lack of the ability to input means I can't use this as a local terminal.app or iTerm2 replacement yet. ;-/

mitotic commented 11 years ago

Fixed by properly encoding Unicode pasted string to UTF-8