Jump to content
Mr H.

copytoclipboard with special characters

Recommended Posts

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

That's exactly what I ended up doing... Thanks!

Share this post


Link to post
Share on other sites
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

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

well if you

  • select Encoding->Encode in ANSI in notepad ++
  • paste your clipboard
  • select Encoding->Encode in UTF-8

it shows correct characters 

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×