运维网's Archiver
论坛
›
Python
› SL4A上的python
ywg
发表于 2017-4-30 13:30:02
SL4A上的python
#coding=utf8
import android
import urllib
droid=android.Android()
web=urllib.urlopen("http://www.google.com")
print web.read().decode("gb2312").encode("utf8")
web.close()
print "你好"
droid.makeToast("你好")
看来android是utf8编码
页:
[1]
查看完整版本:
SL4A上的python