Fixed a UTF8-related bug with 'SetClipboard'. Special thanks to sereschkin for spotting that.