LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Funny characters (https://www.linuxquestions.org/questions/linux-newbie-8/funny-characters-4175578880/)

dwnthk 05-03-2016 02:14 AM

Funny characters
 
Hi guys.

I am now running Slackware 14.1 + xfce.

When I am browsing and downloading files, I come across the wrong encoding or funny characters (I don't know how to call it...). I tried to change the fonts or encoding in browser, but it doesn't work. I know these fonts are mainly simplified Chinese and Japanese (I used to do the same things in Windows and that's why I know). It happens to my downloaded file names too (something like ????.txt).

What should I change, fonts or languages or something else?

Thanks in advance.

hydrurga 05-03-2016 02:38 AM

Quote:

Originally Posted by dwnthk (Post 5539859)
Hi guys.

I am now running Slackware 14.1 + xfce.

When I am browsing and downloading files, I come across the wrong encoding or funny characters (I don't know how to call it...). I tried to change the fonts or encoding in browser, but it doesn't work. I know these fonts are mainly simplified Chinese and Japanese (I used to do the same things in Windows and that's why I know). It happens to my downloaded file names too (something like ????.txt).

What should I change, fonts or languages or something else?

Thanks in advance.

What browser are you using, and can you give us an example of a web page that illustrates the problem?

aragorn2101 05-03-2016 08:31 AM

Hi,

Maybe it is a problem with the locale. Try a UTF-8 locale. You have to change the variable in /etc/profile.d/lang.sh

E.g. if you were using "en_US", now you have to replace it with "en_US.utf8".

This will cause the characters to display correctly in the file manager/browser, downloaded files' names and the terminal. But if you have problems displaying the characters inside the web pages, then you will have to look into the web browser settings.

dwnthk 05-03-2016 10:07 AM

Thank guys. I was using Konqueror. But now I use Firefox, and things are getting better.

But still, when I download a file with a simplified Chinese name with KGet, the file name would become funny characters.

I will give an example later.


Thank again. :hattip:


All times are GMT -5. The time now is 02:39 AM.