I get the following error when I try to download a file with the characters 'ä', 'ö', 'ü' in the filepath:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/peas/peas/main.py", line 300, in
main()
File "/root/peas/peas/main.py", line 293, in main
dl_unc(options)
File "/root/peas/peas/main.py", line 200, in dl_unc
data = client.get_unc_file(path)
File "peas/peas.py", line 131, in get_unc_file
username=user, password=password)
File "peas/py_activesync_helper.py", line 311, in get_unc_file
xmldoc_res = as_request(as_conn, "ItemOperations", xmldoc_req)
File "peas/py_activesync_helper.py", line 62, in as_request
res = as_conn.post(cmd, parser.encode(wapxml_req))
File "peas/pyActiveSync/utils/wbxml.py", line 89, in encode
self.encode_node_recursive(child, wbxml_bytes)
File "peas/pyActiveSync/utils/wbxml.py", line 122, in encode_node_recursive
self.encode_node_recursive(child, wbxml_bytes) #will have to use class var for current_code_page since stack is being replaced on recursive iter
File "peas/pyActiveSync/utils/wbxml.py", line 113, in encode_node_recursive
wbxml_bytes.extend(self.encode_string(current_node.text))
File "peas/pyActiveSync/utils/wbxml.py", line 225, in encode_string
retarray = bytearray(string, "utf-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 64: ordinal not in range(128)