Page 1 of 1

other language

Posted: 09 Oct 2018, 01:49
by MonuKashyap
hii friends, :wave:
how to process hindi language as output..

i mean

var=हिन्दी
msgbox % var

and the output should be हिन्दी,

Re: other language

Posted: 09 Oct 2018, 02:30
by garry
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

Re: other language

Posted: 09 Oct 2018, 05:46
by MonuKashyap
that is great!!
thank you garry..
TY so much!!

Re: other language

Posted: 09 Oct 2018, 05:50
by MonuKashyap
omg, but this is not working!

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

the output is : ??????

any way to do that.?

Re: other language

Posted: 09 Oct 2018, 05:56
by swagfag
Set FileAppend's FileEncoding

Re: other language  Topic is solved

Posted: 09 Oct 2018, 06:28
by garry
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

Re: other language

Posted: 09 Oct 2018, 06:38
by MonuKashyap
THAT WORKED!!!

Thank you friend, to you both
garry and swagfag