Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problems with IE - having '??' at the beginning of the page
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
oritk  
View profile  
 More options Jan 19, 11:45 am
From: oritk <okis...@gmail.com>
Date: Thu, 19 Jan 2012 08:45:37 -0800 (PST)
Local: Thurs, Jan 19 2012 11:45 am
Subject: Problems with IE - having '??' at the beginning of the page
i know it sounds a bit crazy.. but i've been struggling with this for
few days now and would like to see if someone here had a similar
problem or can direct me to a solution.

my site runs ok with all browsers, but i found out that in IE (7) -
all "hover" styles do not work. i did some research and found
solutions and right now it should all work. but still - no go. i
copied the home page that i get from the django server and indeed -
hover does not work.
BUT - when i copied the whole source, i found out that at the
beginning of the page, there are 2 extra characters, like that:

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

Taking those out (in a local copy) - and it all works.
off course - it does not bother the other browsers, which act
normally.
my guess it that those characters are somehow related to the fact that
this is a Hebrew site.

Any idea?
thanks, Orit


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shai Berger  
View profile  
 More options Jan 19, 12:02 pm
From: Shai Berger <s...@platonix.com>
Date: Thu, 19 Jan 2012 19:02:19 +0200
Local: Thurs, Jan 19 2012 12:02 pm
Subject: Re: [pyweb-il:3254] Problems with IE - having '??' at the beginning of the page
These characters (bytes) are probably what's known as a "BOM" -- they are
there to indicate if a UTF-16 encoded text is big-endian or little-endian.

You don't want that. You want everything in UTF-8.

The characters for BOM are 0xFF and 0xFE, IIRC.

They may come either from your templates (if you've edited them with an Evil
editor) or from your web-server (if it is Evil). As a hint, most Evil things
(this type of Evil, anyway) come from the Windows world.

HTH,
        Shai.

On Thursday 19 January 2012 18:45:37 oritk wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oritk  
View profile  
 More options Jan 19, 3:11 pm
From: oritk <okis...@gmail.com>
Date: Thu, 19 Jan 2012 12:11:53 -0800 (PST)
Local: Thurs, Jan 19 2012 3:11 pm
Subject: Re: Problems with IE - having '??' at the beginning of the page
Bingo  :)
i have the option to "save without BOM" but first - i did not know
what it means...
More then that - i tried it, but i was not aware that i have to do
that on all my files, not only the base template.
thanks a lot, Orit

On Jan 19, 7:02 pm, Shai Berger <s...@platonix.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yishai Beeri  
View profile  
 More options Jan 20, 5:23 am
From: Yishai Beeri <yis...@platonix.com>
Date: Fri, 20 Jan 2012 12:23:52 +0200
Local: Fri, Jan 20 2012 5:23 am
Subject: Re: [pyweb-il:3257] Re: Problems with IE - having '??' at the beginning of the page
Funny (though not surprising) that the Evil browser is the only one to  
choke on the chars inserted by the Evil editor :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yuval Adam  
View profile  
 More options Jan 20, 5:34 am
From: Yuval Adam <yuv....@gmail.com>
Date: Fri, 20 Jan 2012 12:34:50 +0200
Local: Fri, Jan 20 2012 5:34 am
Subject: Re: [pyweb-il:3258] Re: Problems with IE - having '??' at the beginning of the page

#poeticjustice

--
Yuval Adam
http://y3xz.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Amit Aronovitch  
View profile  
 More options Jan 21, 4:15 am
From: Amit Aronovitch <aronovi...@gmail.com>
Date: Sat, 21 Jan 2012 11:15:50 +0200
Local: Sat, Jan 21 2012 4:15 am
Subject: Re: [pyweb-il:3259] Re: Problems with IE - having '??' at the beginning of the page

On Thu, 19 Jan 2012 22:11:53 +0200, oritk <okis...@gmail.com> wrote:

>>  Bingo  :)
>>> i have the option to "save without BOM" but first - i did not know
>>> what it means...
>>> More then that - i tried it, but i was not aware that i have to do
>>> that on all my files, not only the base template.
>>> thanks a lot, Orit

1. Saving without BOM - might mean that it still saves UTF16, just without
the BOM (not in UTF8 as Shai suggested). This might be considered even more
"Evil" than the original option. You should check that other browsers (non
IE7) do not choke on that...

2. Orit - maybe you can shed some light on the mystery: which editor/IDE
were you using (the one with the "save without BOM" option)?

3. Shai : Re: evil programs: Another source of this type of "evilness" is
Java. Similarly to Windows programs, the problem is wide adoption of early
(pre-2.0) versions of Unicode in the 90's, combined with clear preference
for backwards-compatibility over standards compliance. To the point where
official documentation is not updated and contain bluntly misleading
statements like "Unicode is a 16-bit character encoding" ( Oracle's Java
tutorial )<http://docs.oracle.com/javase/tutorial/i18n/text/convertintro.html>.
People actually learn from these sources - no wonder they produce broken
software.
Luckily, major languages spoken in our tiny country fit in the BMP, so we
do not see the full scale of the problem (I do not know how people in east
Asia cope with this).

    Amit


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oritk  
View profile  
 More options Feb 8, 12:01 am
From: oritk <okis...@gmail.com>
Date: Tue, 7 Feb 2012 21:01:08 -0800 (PST)
Local: Wed, Feb 8 2012 12:01 am
Subject: Re: Problems with IE - having '??' at the beginning of the page
The editor is Notepad++ and the full name they give it is "utf-8
without BOM".

As for browsers - i did not have any problem with chrome, FF, Opera or
Safari, only with the evil IE7... i did not check later versions of
IE, my assumption is that if it works on IE7 it will work on later
ones... so im checking the other ones only once in a while...

On Jan 21, 11:15 am, Amit Aronovitch <aronovi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oritk  
View profile  
 More options Feb 8, 12:04 am
From: oritk <okis...@gmail.com>
Date: Tue, 7 Feb 2012 21:04:20 -0800 (PST)
Local: Wed, Feb 8 2012 12:04 am
Subject: Re: Problems with IE - having '??' at the beginning of the page
one more thing...
The symptom on IE was strange - almost anything worked ok, but not
everything.
The main issue was that the hover style did not work (i wanted a
cursor on some objects) and this sent me for a long research on hover
in IE...

On Feb 8, 7:01 am, oritk <okis...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ori Hoch  
View profile  
 More options Feb 8, 1:11 am
From: Ori Hoch <o...@uumpa.com>
Date: Wed, 8 Feb 2012 08:11:16 +0200
Local: Wed, Feb 8 2012 1:11 am
Subject: Re: [pyweb-il:3332] Re: Problems with IE - having '??' at the beginning of the page

maybe the BOM caused ie to go into quirks mode

On 8 בפבר 2012, at 07:04, oritk <okis...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Amit Aronovitch  
View profile  
 More options Feb 8, 6:20 am
From: Amit Aronovitch <aronovi...@gmail.com>
Date: Wed, 8 Feb 2012 13:20:06 +0200
Local: Wed, Feb 8 2012 6:20 am
Subject: Re: [pyweb-il:3332] Re: Problems with IE - having '??' at the beginning of the page

Well, NP++ is actually a good editor, and certainly not "evil".
Good that it saves utf-8. Should work on any modern browser.

Note that byte-order has no meaning in utf-8, and saving utf8 *with* BOM
would probably be a bad idea (breaks backwards compatibility with ISO
"ASCII-extensions", causes some programs to choke etc.).

   AA


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »