LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 04-16-2006, 04:21 AM   #1
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Rep: Reputation: 30
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
 
Old 04-16-2006, 04:36 AM   #2
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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)
 
Old 04-16-2006, 02:10 PM   #3
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
OK, got it working.
Thanks!
 
Old 04-16-2006, 02:46 PM   #4
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
You haven't posted too many serious support requests yet, have you?
 
Old 04-17-2006, 12:27 AM   #5
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
yeah, sorry for posting so much. Trying to figure out how to make FC work with my app that I built...
 
Old 04-17-2006, 04:56 AM   #6
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
How To Ask Questions The Smart Way
 
Old 04-17-2006, 11:22 AM   #7
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
The link does not work
 
Old 04-17-2006, 11:40 AM   #8
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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!
 
Old 04-17-2006, 02:35 PM   #9
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
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)
 
Old 04-17-2006, 06:14 PM   #10
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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.)
 
Old 04-17-2006, 06:44 PM   #11
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
I've got this tag but it does not recongize it automatically...
 
Old 04-19-2006, 09:02 AM   #12
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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.
 
Old 04-19-2006, 11:20 AM   #13
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
those are actually html and jsp pages what does Java have to do with html pages?

Thanks.
 
Old 04-19-2006, 12:12 PM   #14
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

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


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
International characters in Linux dominique Linux - Newbie 2 08-09-2007 02:01 PM
xmms and international characters jrdioko Linux - Software 15 01-15-2005 03:13 AM
Typing International Characters jrdioko Linux - General 12 09-19-2004 09:21 PM
easiest way to input international characters Mugatu Linux - Software 3 04-26-2004 07:16 AM
International characters over ssh EUtopian Linux - Software 5 11-03-2003 12:50 AM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration