Assuming you are on Mac you could try: lock the clipboard set the rawClipboardData["public.utf8-plain-text"] \ to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX unlock the clipboard