Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opera vs FF: odd formatting error

0 views
Skip to first unread message

voice_o...@australia.edu

unread,
Dec 20, 2007, 8:32:47 PM12/20/07
to
Greetings,

I have recently installed Opera v9.24 and am still test driving it
against the lastest FF.

I am noticing a repeated formatting error when pages load in Opera
whereby there seems to be an extra space (or some extraneous non-
printed character) between the character ' and the following letter
(usually "s"). So "Bob's sister's bike" appears as "Bob' s sister' s
bike".

Why is this? (I assume it has something to do with how the html is
being interpreted)

Thanx!

Nisse Engström

unread,
Dec 20, 2007, 11:33:52 PM12/20/07
to
On Thu, 20 Dec 2007 17:32:47 -0800 (PST), voice_o...@australia.edu
wrote:

> I am noticing a repeated formatting error when pages load in Opera
> whereby there seems to be an extra space (or some extraneous non-
> printed character) between the character ' and the following letter
> (usually "s"). So "Bob's sister's bike" appears as "Bob' s sister' s
> bike".
>
> Why is this? (I assume it has something to do with how the html is
> being interpreted)

URL?


/Nisse

FV

unread,
Dec 21, 2007, 2:22:44 AM12/21/07
to
<voice_o...@australia.edu> schreef op Fri, 21 Dec 2007 02:32:47 +0100:


> I am noticing a repeated formatting error when pages load in Opera
> whereby there seems to be an extra space (or some extraneous non-
> printed character) between the character ' and the following letter
> (usually "s"). So "Bob's sister's bike" appears as "Bob' s sister' s
> bike".

Just a guess: Is your View -> Encoding set to Automatic or something else?
In Preferences (first tab), Language details -> is Default encoding set to
Windows 1252 or something else?

--
Fabian

voice_o...@australia.edu

unread,
Dec 21, 2007, 9:19:09 AM12/21/07
to
On Dec 21, 12:33 pm, Nisse Engström <news.NOSPAM.gokyoZ...@luden.se>
wrote:

>
> URL?
>
>

All.

Whenever - wherever an ' appears, an extra space shows up after it.

voice_o...@australia.edu

unread,
Dec 21, 2007, 11:34:49 AM12/21/07
to
On Dec 21, 3:22 pm, FV <F...@wanadoo.invalid> wrote:
>
> Just a guess: Is your View -> Encoding set to Automatic?

Yes, it is automatic

> In Preferences (first tab), Language details -> is Default encoding set to
> Windows 1252 or something else?

Language is set to

English (us)[en-Us]

"Encoding assumed for pages lacking specification" is set to

iso 8859-1

Odd H. Sandvik

unread,
Dec 26, 2007, 5:53:07 PM12/26/07
to
In article <2703d31c-559b-43f8-be06-e947d4456ee0
@s12g2000prg.googlegroups.com>, says...

Just as an apropos: I'm seeing something like this too.
Look at Opera snapshot I made here:
http://www.flickr.com/photos/8376607@N05/2139630182/

Notice the words "First Lady's incumbent". The original
article is at:
http://www.time.com/time/nation/article/0,8599,1698063,00.html

Using Opera 9.25 Win32.

--
Odd H. Sandvik

jetsam

unread,
Dec 26, 2007, 7:16:26 PM12/26/07
to
Odd H. Sandvik <jegleserde...@hotmail.com> ::

> http://www.flickr.com/photos/8376607@N05/2139630182/
> Notice the words "First Lady's incumbent". The original
> article is at:
> http://www.time.com/time/nation/article/0,8599,1698063,00.html

That's common. It's because the writer had "fancy/curly/smart quotes"
turned on in the writing program. It uses characters in the
"forbidden range" but specifies a different encoding.

http://www.cs.tut.fi/~jkorpela/www/windows-chars.html

Usually the page says the character set is UTF-8, but then uses
characters in the Win-Latin-1 range, as the page you reference did.
Where you see blanks I see an "unknown character" glyph. You can
usually get such pages to view properly if you hit View > Encoding >
Western and choose ISO-8859-1, Windows-1252, or US-ASCII.

Save this scrap of html and view it in Opera. I think it will
probably look okay, with all three meta lines commented out.
Both copies of the sentence should look okay: Opera is correctly
auto-detecting the encoding. The two sentences should still match
if you uncomment the second or the third meta lines. But if you
uncomment the first, you're explicitly telling Opera the file is one
thing, when it's actually another. Opera believes what it's told.
Firefox 2.0.0.1 and MSIE 7 do the same here.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Curly Quotes</title>

<!-- <meta http-equiv="content-type"
content="text/html; charset=utf-8" /> -->
<!-- <meta http-equiv="content-type"
content="text/html; charset=windows-1252" /> -->
<!-- <meta http-equiv="content-type"
content="text/html; charset="iso-8859-1" /> -->

</head>
<body>
<p>My uncle’s horse, “Infinite Possibilities,”
was—and I quote—‘indisposed’ today.</p>
<br />
<p>My uncle&rsquo;s horse, &ldquo;Infinite Possibilities,&rdquo;
was&mdash;and I quote&mdash;&lsquo;indisposed&rsquo; today.</p>
</body>
</html>

Odd H. Sandvik

unread,
Dec 26, 2007, 7:23:27 PM12/26/07
to
In article <22r5n3hqbipendit5...@4ax.com>, jetsam says...

> Odd H. Sandvik <jegleserde...@hotmail.com> ::
> > http://www.flickr.com/photos/8376607@N05/2139630182/
> > Notice the words "First Lady's incumbent". The original
> > article is at:
> > http://www.time.com/time/nation/article/0,8599,1698063,00.html
>
> That's common. It's because the writer had "fancy/curly/smart quotes"
> turned on in the writing program. It uses characters in the
> "forbidden range" but specifies a different encoding.
>
> http://www.cs.tut.fi/~jkorpela/www/windows-chars.html
-snip-

Interesting. I didn't test in FF, but you're right, it looks
the same there. Thanks also for the html test case. Very
useful.

--
Odd H. Sandvik

0 new messages