other language Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
MonuKashyap
Posts: 48
Joined: 06 Jun 2016, 21:32

other language

09 Oct 2018, 01:49

hii friends, :wave:
how to process hindi language as output..

i mean

var=हिन्दी
msgbox % var

and the output should be हिन्दी,
garry
Posts: 1815
Joined: 22 Dec 2013, 12:50

Re: other language

09 Oct 2018, 02:30

I use notepad++ saved copied script with code UTF-8-BOM , it worked
EDIT :
works also with notepad ( tested with WIN-10 )
File save as ... encoding > UTF-8
MonuKashyap
Posts: 48
Joined: 06 Jun 2016, 21:32

Re: other language

09 Oct 2018, 05:46

that is great!!
thank you garry..
TY so much!!
MonuKashyap
Posts: 48
Joined: 06 Jun 2016, 21:32

Re: other language

09 Oct 2018, 05:50

omg, but this is not working!

fileappend, हिन्दी, हिन्दी.txt
sleep 100
run हिन्दी.txt

the output is : ??????

any way to do that.?
swagfag
Posts: 2515
Joined: 11 Jan 2017, 17:59

Re: other language

09 Oct 2018, 05:56

Set FileAppend's FileEncoding
garry
Posts: 1815
Joined: 22 Dec 2013, 12:50

Re: other language  Topic is solved

09 Oct 2018, 06:28

thank you , I tried with notepad ( script was saved UTF-8 )

Code: Select all

MsgBox % A_IsUnicode    ; 1 if autohotkey is unicode
FileEncoding, UTF-8
fileappend, हिन्दी, हिन्दी.txt,utf-8
sleep 100
run हिन्दी.txt
MonuKashyap
Posts: 48
Joined: 06 Jun 2016, 21:32

Re: other language

09 Oct 2018, 06:38

THAT WORKED!!!

Thank you friend, to you both
garry and swagfag

Return to “Ask For Help”

Who is online

Users browsing this forum: DMDComposer, Ekki, Google [Bot], JaydeNpie, Lem2001, scriptor2016, teadrinker, wychu and 186 guests