Hi,
I'm working on a program that fetches some translated texts from Altavista online translator , it works fine with languages like German, french & .. but it can not get translated text in Japanese or Russian or chinese.
my code is something like this:
##################################
data1 = urllib.urlopen('
http://www.babelfish.altavista.com/babelfish/trurl_pagecontent?lp=en_ru&url="" )
data1=data1.decode('utf-8')
f=open('/usr/local/new/tt.html','w')
f.write(data1.encode('utf-8'))
f.close()
###########################################
Any help appreciated.
Best Wishes,
M.Babaei
-- http://mail.python.org/mailman/listinfo/python-list