Exporting files with non-ASCII characters results in malformed characters/mojibake

Wed Dec 07, 2011 12:02 pm in AirDroid Web

page 1 / 1
LiveWire
OP

Exporting files with non-ASCII characters results in malformed characters/mojibake

Steps to reproduce:
1. Create a file with non-ASCII characters in the filename and place it in the sdcard directory. For instance: 文字化け.txt
2. Export the file via AirDroid.
3. Extract the contents of the archive file.

Result: Filenames are scrambled.

Tested on Ubuntu 10.10 with Fileroller.

http://en.wikipedia.org/wiki/Mojibake
LiveWire
AdsBot [Google]
#1

Title

Hi LiveWire,
Please try below command in your terminal on Ubuntu

unzip -O cp936 + File Path

e.g.

to unzip export.zip under /home/airdroid/, use below command

unzip -O cp936 /home/airdroid/export.zip
AdsBot [Google]
(Sign in or sign up to post a reply.)
page 1 / 1

Statistics

24655 posts

7416 threads

Members: 235544

Latest Member: minoo723

Online: 47