PDA

View Full Version : Unsolved Why "rectangulars" in HTML instead of characters?



john_s
09-13-2011, 01:32 AM
Quite rare, but now and then I see those double-decker 'rectangulars' when browsing the web.

85024

Is there a way to avoid that 'art' and see what's behind it in Latin alphabet?

Thanks,
John

Luis Digital
09-13-2011, 01:44 AM
Hello,

The most likely cause is a missing font on your system.

Do you have a link to that page?

GordonMcComb
09-13-2011, 01:56 AM
These are replacement glyphs for missing or unprintable Unicode characters. Try here for more info:

http://en.wikipedia.org/wiki/Specials_%28Unicode_block%29

$WMc%
09-13-2011, 02:00 AM
John_s
'
I've seen the google translator botch the ASCII code.
'
And some times I've seen this when converting Unicode to ASCII and vise versa.
'
Like Luis said above.
'
Check your font files.
'
Mr Comb brings up a good point.
'
http:/html:, does not use error checking.
'
This is a need for speed protocol,And if there was an error ,The protocol would just let the error fly.
'
'
Hope this helps

john_s
09-13-2011, 03:03 AM
Hello,

The most likely cause is a missing font on your system.

Do you have a link to that page?

Here http://www.swarthmore.edu/NatSci/echeeve1/Ref/Fourier/FourierBio.html

As wikipedia points out "...U+FFFD �​ replacement character used to replace an unknown or unprintable character..."

"...Check your font files " - where and how ?
Which fonts is my pc missing - as obviously it is :-)

Mike G
09-13-2011, 06:04 AM
Try changing your browser encoding to Windows 1252 or Western Europe (Windows).

HTML source.


<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<meta NAME="GENERATOR" CONTENT="Microsoft FrontPage 4.0">

Luis Digital
09-13-2011, 12:59 PM
I visited the site and I have problems also to see the text (question marks appear using FF on Linux).

I see that the browser is using UTF-8, but the encoding is windows-1252, so I selected that encoding in my browser and now the text appears correctly.

x/2 = sin x - (sin 2x)/2 + (sin 3x)/3 +

john_s
09-13-2011, 05:28 PM
I changed Firefox encoding from 'default' Unicode (UTF-8) to Western (Windows-1252) and it shows correctly.

Thanks,
John

Publison
09-13-2011, 05:39 PM
I was able to change it in Google Chrome "Tools>Encoding" to "windows-1252" and it works fine, also.

john_s
09-13-2011, 07:43 PM
NOT so fast - seems like Firefox knows better and keeps a Unicode (UTF-8) as a 'default'.

So - is there a way to make Western (Windows-152) a sticky instead ?

Mike G
09-13-2011, 08:22 PM
@john_s, The page creator probably saved the page as UTF-8 but used a Microsoft character encoding (Windows-1252 or Western ISO-8859-1). FireFox is being told that the HTML file is UTF-8 not ISO-8859-1. More information about FireFox character encoding can be found in the help files.

john_s
09-14-2011, 04:44 AM
So it is a bug ... or nasty 'feature' in Firefox - as other people kept founding every now and then during last years already.

https://bugzilla.mozilla.org/show_bug.cgi?id=158285

"You can't. Firefox will switch the encoding to the value send by a web server in the HTTP response headers..."

Oh well, I'm not going to spend any more time trying to make it 'think' otherwise ...