Mr H. 402 Posted February 17, 2019 Hi! I'm having some trouble with copytoclipboard and special accentuated characters (for French in my case). I need to copy paste strings with these special characters from the game into the clipboard. But the following happens: copytoclipboard "Général"; will return when pasting into a file : Général setting the file to be in UTF8 doesn't change a thing when pasting. For the record my game is installed in English (and I'd like to keep it that way). Any ideas? Workarounds? Share this post Link to post Share on other sites
Dedmen 2714 Posted February 19, 2019 https://docs.microsoft.com/de-de/windows/desktop/dataxchg/standard-clipboard-formats Arma uses CF_TEXT which is ascii only but it puts UTF-8 chars into it. Copying from a "Edit" control with CTRL+C should be unicode. You could try that. Although then the user has to copy manually. 1 Share this post Link to post Share on other sites
Mr H. 402 Posted February 19, 2019 That's exactly what I ended up doing... Thanks! Share this post Link to post Share on other sites
killzone_kid 1331 Posted February 19, 2019 copytoclipboard str toarray "Général"; tostring parsesimplearray copyfromclipboard 1 2 Share this post Link to post Share on other sites
Dedmen 2714 Posted February 19, 2019 1 hour ago, killzone_kid said: tostring parsesimplearray copyfromclipboard -> On 2/17/2019 at 5:46 PM, Mr H. said: when pasting into a file I'd say turning it into an array of numbers doesn't help if he wants to export stuff from the game into a file. Share this post Link to post Share on other sites
Mr H. 402 Posted February 19, 2019 My script generates config files. I won't be home in the next few days but I will try your solution when I'm back. Share this post Link to post Share on other sites
killzone_kid 1331 Posted February 19, 2019 well if you select Encoding->Encode in ANSI in notepad ++ paste your clipboard select Encoding->Encode in UTF-8 it shows correct characters 1 1 Share this post Link to post Share on other sites