I created a file that is in UTF-8 encoding. This file contains chinese characters.
When I sftp the file from my macbook into the ubuntu 14.04 server headless, the Chinese characters become diamond shape.
When I look at the file (either via SSH or directly on the machine itself using a CRT monitor), the file always appears as diamond shaped.
The language locale of the ubuntu is
How do I
a) either somehow retype the characters inside the ubuntu headless 14.04?
b) transfer the file over and still have the chinese characters rendered correctly?
I mean I have no GUI on the 14.04 ubuntu server edition. The files whenever I open using vim or nano or whatever editor keep showing up the chinese characters as diamond shape things.