LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   character issue (https://www.linuxquestions.org/questions/linux-software-2/character-issue-4175547508/)

skhare1 07-08-2015 09:52 AM

character issue
 
Hello Sir,

We have one file on window server and we are getting file from window server to Linux server by FTP.

In file Some character in window server.
c

While getting file in Linux its goes like below.
é ö è * č ž ã ž

What is exactly problem we are not understand.

bigrigdriver 07-08-2015 10:29 AM

I suspect that the Linux server doesn't have windows true type fonts installed, therefore it cannot accurately render the fonts received from windows.

Since you don't name the Linux distribution you are using, I can only give a general answer: install windows fonts to your Linux server.

Here is a google search for information about installing windows true type fonts on a Linux system: https://www.google.com/search?q=add+...73.zAA8vqATU64

xuhdev 07-09-2015 07:53 PM

It may be an encoding problem. If BOM isn't specified, it leaves the space for editors to guess the encoding. What is the encoding shown on Windows?

berndbausch 07-09-2015 08:41 PM

Quote:

Originally Posted by skhare1 (Post 5388832)
Hello Sir,

We have one file on window server and we are getting file from window server to Linux server by FTP.

In file Some character in window server.
c

While getting file in Linux its goes like below.
é ö è * č ž ã ž

What is exactly problem we are not understand.

Encoding, as one of the other posters said. The program you use to view the file interprets the characters differntly than the Windows program.

Is it a simple text file? How do you view it in Linux? Example: If it's a text file using Unicode, the following magic would work:

Code:

LANG=utf-8 cat yourfile


All times are GMT -5. The time now is 11:43 AM.