Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-16-2006, 03:21 AM
|
#1
|
Member
Registered: Apr 2006
Posts: 170
Rep:
|
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
|
|
|
04-16-2006, 03:36 AM
|
#2
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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)
|
|
|
04-16-2006, 01:10 PM
|
#3
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
OK, got it working.
Thanks!
|
|
|
04-16-2006, 01:46 PM
|
#4
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
You haven't posted too many serious support requests yet, have you?
|
|
|
04-16-2006, 11:27 PM
|
#5
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
yeah, sorry for posting so much. Trying to figure out how to make FC work with my app that I built...
|
|
|
04-17-2006, 03:56 AM
|
#6
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
|
|
|
04-17-2006, 10:22 AM
|
#7
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
The link does not work
|
|
|
04-17-2006, 10:40 AM
|
#8
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
Sorry for that. - It's really an important link.
How To Ask Questions The Smart Way
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.
Thanks
And good luck with your issues!
|
|
|
04-17-2006, 01:35 PM
|
#9
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
ok thanks,
well the solution was simple - to set the correct encoding in the browser ( for somer reason I thought i did that before I post the message)
|
|
|
04-17-2006, 05:14 PM
|
#10
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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.)
|
|
|
04-17-2006, 05:44 PM
|
#11
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
I've got this tag but it does not recongize it automatically...
|
|
|
04-19-2006, 08:02 AM
|
#12
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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.
|
|
|
04-19-2006, 10:20 AM
|
#13
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
those are actually html and jsp pages what does Java have to do with html pages?
Thanks.
|
|
|
04-19-2006, 11:12 AM
|
#14
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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,
Quote:
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
might be invalid (and would confuse the web browser) as the actual encoding is *wondering* ISO-8859-1.
Try
Quote:
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
|
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.
|
|
|
All times are GMT -5. The time now is 08:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|