LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2016, 02:14 AM   #1
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 68

Rep: Reputation: Disabled
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.

Last edited by dwnthk; 05-03-2016 at 02:15 AM.
 
Old 05-03-2016, 02:38 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
Quote:
Originally Posted by dwnthk View Post
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?
 
Old 05-03-2016, 08:31 AM   #3
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 552

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
1 members found this post helpful.
Old 05-03-2016, 10:07 AM   #4
dwnthk
Member
 
Registered: May 2016
Location: Hong Kong
Distribution: Slackware 14.1 + Fluxbox
Posts: 68

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Strange keyboard behavior - funny characters on the console montyny Linux - Newbie 2 02-22-2012 07:09 AM
emails with funny characters =e9 =3d dlublink Programming 4 08-09-2006 09:05 AM
How get rid of funny characters in filenames? Bengan Mandriva 11 01-07-2006 11:38 AM
Apache 2.0.52 funny characters on web page mnauta Linux - Networking 1 12-03-2004 12:24 AM
funny characters in man pages durden2.0 Linux - General 4 06-27-2003 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration