Jump to content
Sign in to follow this  
kid1232

Problem about INETGETSOURCE

Recommended Posts

kid1232

First, SR about my english, its very bad, so i hope you can understand me :(
 
I making a script that translate enlish to vietnamese(unicode)
 
Its OK if all string is not unicode, if have any unicode string its return anything i can decode :(
I tried ANSI to UTF but not success
 
here is my example:

$data = _INetGetSource("http://translate.google.com.vn/translate_a/t?client=webapp&sl=auto&tl=vi&hl=vi&sc=1&q=Yến%20Panda")
InputBox("","",$data)

so it return "Ya º ¿ n Panda" 

the right must be "Yến Panda"

i save that link and open with notepad++ its OK

but use script, its so bad :(

Plz help me 

Thanks

Edited by kid1232

Share this post


Link to post
Share on other sites
kid1232

simply that can you decode it to unicode?

TÃ'i là Tà ¹ ng , TÃ'i Ä'à º ¿ n tá » « qua » ‡ t Nam

to 

Tôi là Tùng, tôi đến từ Việt Nam

tks 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×