Re: [WSG] UTF and IE/Mac - extra character?

2005-09-19 Thread Nick Gleitzman
First thing I thought when reading your message: BOM. And indeed, it 
is there.


I remember, when I still used BBEdit @version 7, I had a hard time 
getting rid of it. I think you have to set it first in the application 
prefs, save without BOM, before opening any document.


Thanks, Philippe. That did it. I needed to set the prefs, then open a 
new doc, paste the code into it from the old one, and save. Voila - 
errant character gone.


Cheers

N
___
Omnivision. Websight.
http://www.omnivision.com.au/

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] UTF and IE/Mac - extra character?

2005-09-19 Thread Nick Gleitzman
Hmm, until I read that part, I was going to say "just set the encoding 
to UTF-8, no BOM", because I had exactly the same problem using 
BBEdit, and solved it that way.


When you say you've set "prefs", have you used the "options" button in 
the Save dialog box to set the encoding? That's what I did.


Well, yes - in BBEdit Preferences, if you set 'UTF-8, no BOM' as the 
default for 'Text Files: Saving', that's how files are saved. You can 
then use the Options button in the Save dialog to override this on a 
file-by-file basis...


N
___
Omnivision. Websight.
http://www.omnivision.com.au/

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] UTF and IE/Mac - extra character?

2005-09-19 Thread Philippe Wittenbergh


On 20 Sep 2005, at 7:32 am, Nick Gleitzman wrote:

I've just built a couple of pages using UTF encoding, rather than 
iso-8859-1, and all is as expected, except that in IE/Mac, if you View 
Source, there's a single character ('?') as the very first character 
of the file - and it renders. Thought at first it might be a localhost 
thing, but it happens with the online version as well... This 
character is not evident when Viewing Source with any other browser - 
or in the HTML file.


HTML is written with BBEdit; I've set prefs to save files as UTF-8 
(tried with and without BOM - makes no difference).




First thing I thought when reading your message: BOM. And indeed, it is 
there.


I remember, when I still used BBEdit @version 7, I had a hard time 
getting rid of it. I think you have to set it first in the application 
prefs, save without BOM, before opening any document.


Philippe
---
Philippe Wittenbergh


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



Re: [WSG] UTF and IE/Mac - extra character?

2005-09-19 Thread john

HTML is written with BBEdit; I've set prefs to save files as UTF-8
(tried with and without BOM - makes no difference).

Any ideas, anyone?


Hmm, until I read that part, I was going to say "just set the 
encoding to UTF-8, no BOM", because I had exactly the same problem 
using BBEdit, and solved it that way.


When you say you've set "prefs", have you used the "options" button 
in the Save dialog box to set the encoding? That's what I did.


   "Have You Validated Your Code?"
John Horner(+612 / 02) 8333 3488
Developer, ABC Kids Onlinehttp://www.abc.net.au/

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**



[WSG] UTF and IE/Mac - extra character?

2005-09-19 Thread Nick Gleitzman

Hi all

I'd really appreciate it if anyone can shed light on this non-critical 
but annoying anomaly.


I've just built a couple of pages using UTF encoding, rather than 
iso-8859-1, and all is as expected, except that in IE/Mac, if you View 
Source, there's a single character ('?') as the very first character of 
the file - and it renders. Thought at first it might be a localhost 
thing, but it happens with the online version as well... This character 
is not evident when Viewing Source with any other browser - or in the 
HTML file.


HTML is written with BBEdit; I've set prefs to save files as UTF-8 
(tried with and without BOM - makes no difference).


Any ideas, anyone?

Page is at http://www.omnivision.com.au/reed/index.htm

Thanks

Nick
___
Omnivision. Websight.
http://www.omnivision.com.au/

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**