google / adb-sync

Apache License 2.0
1.08k stars 171 forks source link

"Ordinal not in range"-error when syncing files with umlauts #18

Closed jottr closed 5 years ago

jottr commented 7 years ago

Using the most recent version from this repos master branch:

$ adb-sync ü /sdcard/
Traceback (most recent call last):
  File "/Users/jonas/.bin/adb-sync", line 774, in <module>
    main(*sys.argv)
  File "/Users/jonas/.bin/adb-sync", line 695, in main
    localpatterns = [x.encode(args_encoding) for x in args.source]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)