Im using android view client to automate testing of an android app, but all of the views are on Russian, so when I'm using dump.py i have something like this:
android.widget.TextView id/no_id/16 ╨в╤А╨░╨╜╤Б╨┐╨╛╤А╤В
How can I see it in normal view? Because it's not comfortably to find the vies in such view.
Update
I used chcp 65001 and got one TextView on Russian, but after thata I recieved an error:
android.widget.TextView id/no_id/15 Все категорииTraceback
(most recent call last):
File "C:\Program Files (x86)\Android\AndroidViewClient\AndroidViewClient-maste
r\AndroidViewClient\tools\dump.py", line 128, in <module>
vc.traverse(transform=transform)
File "C:\Program Files (x86)\Android\AndroidViewClient\AndroidViewClient-maste
r\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 1754, in trave
rse
return ViewClient.__traverse(root, indent, transform, stream)
File "C:\Program Files (x86)\Android\AndroidViewClient\AndroidViewClient-maste
r\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 1776, in __tra
verse
ViewClient.__traverse(ch, indent=indent+" ", transform=transform, stream=s
tream)
File "C:\Program Files (x86)\Android\AndroidViewClient\AndroidViewClient-maste
r\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 1773, in __tra
verse
print >>stream, ius.encode('utf-8', 'replace')
IOError: [Errno 0] Error
This is obtained using latest
dump
(in tools directory) and a google Keep note with the title Привет мир:This was tested on OS X and Linux. If you are not seeing it perhaps the problem is with your operating system ;-).