international characters are not displayed in FireFox
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.
international characters are not displayed in FireFox
Hello,
FireFox for some reason does not display international characters (for ex. german) on FC5
I have it working on WIN XP with no problems.
Why?
Thanks
First, does this apply for all web pages, or just for distinct ones?
Second, we would make sure the pages encoding is what it pretends to be:
- In the menu "View" (or German "Ansicht"), which Character Encoding is selected?
Are the special characters displayed correctly when you change the Character Encoding there?
- If you look at the page source (context menu "View Page Source" or "This Frame" --> "View Page Source"), is there an HTML "meta" tag in the "head" section (something like "<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>") - and if yes, does it correspond to the charset selected in Firefox' menu?
- Using Linux, when you save any text document, it gets saved in UTF-8 by default. Using Windows, you could save the page to disk, then open it with NotePad. When you say "Save as" in NotePad, the actual character set is pre-selected.
Web pages often are not encoded correctly, and some Quirks mode will sometimes display them right.
(BTW, when posting, you should always supply environment information like Firefox version, Linux distribution, URLs of those web pages in doubt, etc)
There's one thing I'm still missing with this link: The fact other people might get to this thread when they happen to have the same problem like yours. I bet they get frustrated when just seeing "OK got it" but not finding anything about a possible solution...
Again, any support request should be reproducable (that means, the environment data were mentioned, error messages - if possible - wordly mentioned, etc.). Secondly, it should be closed at some point of time (that's what you did), and with its closing, it should provide the (if possible) solution. Even if you gave up that's fine (for the thread). Just come back and let others know how you dealed with that issue so that they can decide what to do theirselves.
There should be no need to correct the encoding in the browser - the browser should automatically recognize it.
There are two main factors for enabling automatic character encoding recognition:
1. There should be a HTML "meta" tag: "<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>"
2. The HTML text file at disk should be saved with the correct encoding. (Under Windows, the default encoding is "Windows-something", which is in fact Latin-1. Using Notepad or Visual Studio, there are additional options to specify the encoding when saving a text file. - Under Linux, the default encoding is UTF-8, and ususally, there are no additional options when saving a file.)
I'd say, that's typically Java - Java's default encoding for code files is still ISO-8859-1. Either change that in the HTML meta tag appropriately or in the file properties within your Java Editor. In Eclipse, you can set the default encoding globally, in Netbeans I didn't find such an option.
Popular Java editors (I think you mentioned NetBeans) encode JSP and HTML pages in ISO-8859-1.
(That's fine with Windows as this is Windows' default encoding but not with Linux as Linux' default encoding is UTF-8.
In part, you can edit the encoding in property pages but mostly (with NetBeans 4 & 5 and Eclipse 2 & 3) not. That's very disgraceful.)
Therefore, the tag you inserted into the HTML header,
If this doesn't help, we'd need much more elaborated information on your environment, the steps you processed to come to *which exactly?* results, and such.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.