python - SCP converts German characters from Mac to Ubuntu -


i using mac texteditor , have csv file contains german characters:

schönheit & gesundheit,1,yes,03/04/17,-1,1141,in stock,-1,enabled, 

i using scp copy file computer server:

scp -c -i key.pem -r file.csv ubuntu@54.0.0.0:file.csv 

however

sch~znheit & gesundheit,1,yes,03/04/17,-1,1141,in stock,-1,enabled, 

and cannot parse file these character.

do have ideas how resolve this?

scp converts german characters mac ubuntu

no, scp binary protocol , transfers bit bit. problem editor , encoding configuration. open file in mac, check character encoding used there , when opening file in ubuntu, use same encoding.

or convert file utf-8 avoid such problems.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -