R
R
rockwell3232020-09-10 18:56:23
autohotkey
rockwell323, 2020-09-10 18:56:23

How to change text encoding in ahk?

There is an ahk script to send text to the game. The script has text, it is in Russian, English and Asian. The text is in English, the script sends to the chat of the game normally, but in Russian and Asian it writes hieroglyphs instead of letters (by type: МотоцикР, etc.).
Here is an example script:

F2::
clipboard = 브(을)를 구매하고 싶습니다. // вот тут текст
BlockInput On
SendInput ^{Enter}
Sleep 50
SendInput ^{a}
Sleep 50
SendInput ^{Backspace}
Sleep 50
SendInput ^{v}
Sleep 50
SendInput {Enter}
BlockInput Off
ExitApp

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vehs, 2020-11-10
@Vehs

Open the script for editing in Notepad ++, click "Encodings" in the menu and change it to the desired one. Ave Notepad++!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question