Closed Bug 197727 Opened 22 years ago Closed 22 years ago

Lines of text with improperly encoded characters disappear

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 182650

People

(Reporter: ryants, Assigned: blizzard)

References

()

Details

(Whiteboard: DUPEME)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030311 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030311 In the URL given (http://gforge.org/users/felie/), François Elie entered his name into the GForge database using ISO-8859-1 encoding... since then, GForge changed to UTF-8 encoding. Now that means the ç is not properly encoded for UTF display. However, you will notice that one wrong character seems to "invalidate" the entire line (where it says "Real Name:" is blank on my screen). Funny thing is, if you click-drag your mouse over where the name should be, it appears (except for the ç). On Windows 2000 and XP Mozilla displays a little question mark for the ç to indicate that the encoding is incorrect but the rest of the line displays intact: it would be nice if this happened on Linux as well. NOTE: His entire real name is also "invisible" in the "View Source" for that page, but still can be revealed by click-dragging. I have observed this on other pages that say they are UTF-8 but have incorrectly encoded characters. This may be related to bug 195920. Changing fonts doesn't help. Changing character encoding to ISO-8859-1 does fix the problem, but then properly encoded UTF 8 characters will not display properly. Reproducible: Always Steps to Reproduce: 1. Visit the URL http://gforge.org/users/felie/ 2. ??? 3. Profit! (sorry, couldn't resist) Actual Results: The name "François Elie" is invisible. Expected Results: Everything except the ç should have been rendered: the ç, being improperly encoded, could either become a question mark (like on Windows), or just left blank. I'm using the font "Luxi Sans", but changing that doesn't help.
You can also observe this behaviour on /. right now: http://slashdot.org/article.pl?sid=03/03/16/2023221&mode=thread&tid=193&tid=137 In the article summary there is an improperly encoded single-quote in the word "it's", which causes the entire line that that word appears on to disappear.
on a two day old CVS build, Linux (not Gtk2 or Xft) i see "Fran�ois ELIE" (a missingi glyph/encoding displays as it should, as a question mark) The slashdot sample show "it's" with the proper encoding and glyph. Nothing disappears in either case. I use TT fonts and ISO-8859-1 encoding.
This is a known xft build problem, with a bug already filed. Ryan, please always say which _exact_ build you're using. This includes the name of the file you downloaded. Unfortunately, the RPM builds have a lot of differences from the ".tar.gz" builds where font rendering is concerned....
Assignee: smontagu → blizzard
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 182650 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Mark as verified per previous comment, please re-open if disagree.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.