Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've had this problem for a while now. I have a x86 Debian Sarge install with XFree86 4.3.0. If I use Firefox (1.5) and visit a site with Asian fonts, the characters that I assume are Chinese characters show up as square boxes with 4 letters/numbers inside of them, 2 on the top and 2 on the bottom. If this doesn't make any sense, here is a small screenshot of what I see:
Well, it comes up fine for me without having to specify the encoding. The page looks like it's supposed to be in japanese. Download japanese fonts and you should be good to go.
I don't have any links with me on where to find chinese and japanese font packs though... You'll need to do some googling for that.
Also, for pdfs, if you get the latest linux version, Asian font support should be included.
edit: google always uses utf-8 for the encoding, so you should be able to use the MS Arial Unicode font to handle different languages (i think).
I've just used Debian's 'aptitude' and installed every xfont package that looked like it would contain Asian fonts, but I'm still seeing those boxes. I even exited my X windows session and they are still there.
I'm also seeing these on Amazon's site as well. I did a 'view source' and found this little block of code:
Code:
<b class="price">$26.37</b>   </span>
I did a Google search and found (http://www.tntluoma.com/sidebars/codes/) that says the 8194 is a special html code for 'en space'. This page shows examples of other special characters, which all display fine in my browser, except for these 'en space' codes which still show up as blocks.
Does this give anyone a clue as to what I might be missing?
well, the thing is, I don't think firefox is doing the correct encoding for viewing, or it may be but you don't have any unicode fonts. A couple of things to try, is to try those pages with other browsers. Try that google cache page with firefox again, but manually set the encoding to UTF-8 and see if it comes up good. If it doesn't, then it's a font problem. If it does come up good, then it's a browser issue. X fonts, from my knowledge aren't unicode fonts, so you can install all the X fonts you want, but it's not going to help the problem.
Unfortunately, all the URLs where I got my fonts are gone now. I'm packaging it up and it's uploading to my host right now, but it's a 29 MB upload. I'll post a link to those fonts when it's done uploading.
Also, If you have access to MS word, copy the fonts in windows and install them in your linux box as MS Office will install unicode fonts.
I just tried hitting the Google cache URL in Opera, Konqueror, Epiphany and Mozilla. They all showed the square boxes except for Opera. Maybe Opera has them "compiled in"???
I just downloaded your tar.gz file and will try to find how to install fonts in Debian and then post back.
I found this link for installing fonts in Debian (http://www.paulandlesley.org/linux/xfree4_tt.html) and together with your fonts everything is working great! The fonts even show up in the other browsers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.