Re: [WSG] Strange character encoding issue

2008-11-20 Thread Stuart Foulstone
Hi,

could used named ampersand character codes.

http://www.yourhtmlsource.com/text/specialcharacters.html

eg lsquo;SOAPrsquo;


On Wed, November 19, 2008 4:05 pm, James Jeffery wrote:
 Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

 Some of my characters, especially when using ' seem to mess up. This is
 the
 page, content and layout are simple as it's for a uni assignment:
 http://mi-linux.wlv.ac.uk/~0802390/overview.html

 Check out the overview.html page, and notice the issues. There is one
 noticeable in the overview page ‘SOAP’

 Any ideas?

 (for those interested I do plan to publish a website regarding the
 Semantic
 Web shortly).


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



[WSG] Strange character encoding issue

2008-11-19 Thread James Jeffery
Never had a problem with character encodings on web pages, but since I
reinstalled the OS on my iMac I have had an issue.

Some of my characters, especially when using ' seem to mess up. This is the
page, content and layout are simple as it's for a uni assignment:
http://mi-linux.wlv.ac.uk/~0802390/overview.html

Check out the overview.html page, and notice the issues. There is one
noticeable in the overview page ‘SOAP’

Any ideas?

(for those interested I do plan to publish a website regarding the Semantic
Web shortly).


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread Nikita The Spider The Spider
On Wed, Nov 19, 2008 at 11:05 AM, James Jeffery
[EMAIL PROTECTED] wrote:
 Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

 Some of my characters, especially when using ' seem to mess up. This is the
 page, content and layout are simple as it's for a uni assignment:
 http://mi-linux.wlv.ac.uk/~0802390/overview.html

 Check out the overview.html page, and notice the issues. There is one
 noticeable in the overview page ‘SOAP’

Your HTTP header declares the encoding to be ISO-8859-1 while the HTML
(and presumably your text editor) think it is UTF-8. The HTTP header
trumps all other sources of encoding information. If you can't change
or silence this header on your server, you'll need to save your pages
as ISO-8859-1.

You might find this article about encoding sources interesting:
http://NikitaTheSpider.com/articles/EncodingDivination.html

-- 
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Strange character encoding issue

2008-11-19 Thread David Dorward
James Jeffery wrote:
 Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

Your server says:

  Content-Type: text/html; charset=ISO-8859-1

But the data is UTF-8.

-- 
David Dorward   http://dorward.me.uk/


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Strange character encoding issue

2008-11-19 Thread Tom ('Mas) Pickering

James -

Ran into this as well and it bedeviled 
me for a couple of months.  Try adding the following to your head section:


meta http-equiv=content-type 
content=text/html; charset=iso-8859-1 /


At 10:05 AM 11/19/2008, you wrote:
Never had a problem with character encodings on 
web pages, but since I reinstalled the OS on my iMac I have had an issue.


Some of my characters, especially when using ' 
seem to mess up. This is the page, content and 
layout are simple as it's for a uni assignment: 
http://mi-linux.wlv.ac.uk/~0802390/overview.htmlhttp://mi-linux.wlv.ac.uk/~0802390/overview.html


Check out the overview.html page, and notice the 
issues. There is one noticeable in the overview page ‘SOAP’


Any ideas?

(for those interested I do plan to publish a 
website regarding the Semantic Web shortly).



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Tom ('Mas) Pickering - Web Developer  Patti Gray - Web Designer
[EMAIL PROTECTED]  [EMAIL PROTECTED]
PourHouse Productions - http://pourhouse.com/
When He Reigns - It Pours )  


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread James Jeffery
I don't own the server.

Anyway. I saved as ISO-8859-1, and it works on windows now but not on Mac.
Pulling my hair out at this issue.

On Wed, Nov 19, 2008 at 4:23 PM, David Dorward [EMAIL PROTECTED] wrote:

 James Jeffery wrote:
  Never had a problem with character encodings on web pages, but since I
  reinstalled the OS on my iMac I have had an issue.

 Your server says:

  Content-Type: text/html; charset=ISO-8859-1

 But the data is UTF-8.

 --
 David Dorward   http://dorward.me.uk/


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Strange character encoding issue

2008-11-19 Thread James Jeffery
Got it to work.

I think,  back when I got the iMac I set all this up because I had a similar
issue. When I formatted I forgot to do it again.

On Wed, Nov 19, 2008 at 4:32 PM, James Jeffery 
[EMAIL PROTECTED] wrote:

 I don't own the server.

 Anyway. I saved as ISO-8859-1, and it works on windows now but not on Mac.
 Pulling my hair out at this issue.


 On Wed, Nov 19, 2008 at 4:23 PM, David Dorward [EMAIL PROTECTED]wrote:

 James Jeffery wrote:
  Never had a problem with character encodings on web pages, but since I
  reinstalled the OS on my iMac I have had an issue.

 Your server says:

  Content-Type: text/html; charset=ISO-8859-1

 But the data is UTF-8.

 --
 David Dorward   http://dorward.me.uk/


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Strange character encoding issue

2008-11-19 Thread Iñigo
yep, it's right. I've not seen that.

2008/11/19 David Dorward [EMAIL PROTECTED]

 James Jeffery wrote:
  Never had a problem with character encodings on web pages, but since I
  reinstalled the OS on my iMac I have had an issue.

 Your server says:

  Content-Type: text/html; charset=ISO-8859-1

 But the data is UTF-8.

 --
 David Dorward   http://dorward.me.uk/


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




-- 
Iñigo Medina García
Tecnología

http://www.toprural.com
Tu guía de turismo rural


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread Todd Budnikas

on Apache servers, you can add this to your httpd.conf:
AddDefaultCharset UTF-8


On Nov 19, 2008, at 11:23 AM, David Dorward wrote:


James Jeffery wrote:
Never had a problem with character encodings on web pages, but  
since I

reinstalled the OS on my iMac I have had an issue.


Your server says:

 Content-Type: text/html; charset=ISO-8859-1

But the data is UTF-8.

--
David Dorward   http://dorward.me.uk/






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Strange character encoding issue

2008-11-19 Thread James Jeffery
I used the iso-8859-1 charset and all works :)

On Wed, Nov 19, 2008 at 4:35 PM, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

  Your server send the data as:

 Content-Type: text/html; charset=ISO-8859-1

 but in your code says UTF-8.

 The values in the http-header overwrites any values in the document.

 == change the content type settig on your server

 or

 == use iso-8859-1 charset in your documents and only valid chars.


 hope this helps.

 Kind regards, Stefan




 James Jeffery wrote:

 Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

 Some of my characters, especially when using ' seem to mess up. This is the
 page, content and layout are simple as it's for a uni assignment:
 http://mi-linux.wlv.ac.uk/~0802390/overview.htmlhttp://mi-linux.wlv.ac.uk/%7E0802390/overview.html

 Check out the overview.html page, and notice the issues. There is one
 noticeable in the overview page ‘SOAP’

 Any ideas?

 (for those interested I do plan to publish a website regarding the Semantic
 Web shortly).


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread Iñigo
Hi James,

file is saved as utf-8? This is the encoding in the header content-type and
it should also be the encoding  you work with.

iñ

2008/11/19 James Jeffery [EMAIL PROTECTED]

 Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

 Some of my characters, especially when using ' seem to mess up. This is the
 page, content and layout are simple as it's for a uni assignment:
 http://mi-linux.wlv.ac.uk/~0802390/overview.htmlhttp://mi-linux.wlv.ac.uk/%7E0802390/overview.html

 Check out the overview.html page, and notice the issues. There is one
 noticeable in the overview page ‘SOAP’

 Any ideas?

 (for those interested I do plan to publish a website regarding the Semantic
 Web shortly).


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




-- 
Iñigo Medina García
Tecnología

http://www.toprural.com
Tu guía de turismo rural


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread [EMAIL PROTECTED]




Your server send the data as:
Content-Type: text/html; charset=ISO-8859-1

but in your code says UTF-8.

The values in the http-header overwrites any values in the document.

== change the content type settig on your server 

or 

== use iso-8859-1 charset in your documents and only valid chars.


hope this helps.

Kind regards, Stefan




James Jeffery wrote:

  
Never had a problem with character encodings on web pages, but since I
reinstalled the OS on my iMac I have had an issue.
  
Some of my characters, especially when using ' seem to mess up. This is
the page, content and layout are simple as it's for a uni assignment: http://mi-linux.wlv.ac.uk/~0802390/overview.html
  
Check out the overview.html page, and notice the issues. There is one
noticeable in the overview page "‘SOAP’"
  
Any ideas?
  
(for those interested I do plan to publish a website regarding the
Semantic Web shortly).
  
  
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***





***List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfmUnsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfmHelp: [EMAIL PROTECTED]***



Re: [WSG] Strange character encoding issue

2008-11-19 Thread Nikita The Spider The Spider
On Wed, Nov 19, 2008 at 11:32 AM, James Jeffery
[EMAIL PROTECTED] wrote:
 I don't own the server.

You don't need to own the server to be able to alter its behavior.
Many (most?) ISPs allow you to customize aspects of your site.

 Anyway. I saved as ISO-8859-1, and it works on windows now but not on Mac.
 Pulling my hair out at this issue.

We might be able to help if you're more specific. Windows is an OS;
what *browser* are you using? What does that browser tell you it
thinks the page's encoding is?

Some of the characters you used (like the curly quotes) might not be
in the ISO-8859-1 character set. Browser makers are aware of this, and
even if the encoding is declared as  ISO-8859-1, the browser will
treat the encoding as Win-1252 which is an ISO-8859-1 superset.
Wikipedia can tell you the difference.


 On Wed, Nov 19, 2008 at 4:23 PM, David Dorward [EMAIL PROTECTED] wrote:

 James Jeffery wrote:
  Never had a problem with character encodings on web pages, but since I
  reinstalled the OS on my iMac I have had an issue.

 Your server says:

  Content-Type: text/html; charset=ISO-8859-1

 But the data is UTF-8.

 --
 David Dorward   http://dorward.me.uk/


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



-- 
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Strange character encoding issue

2008-11-19 Thread Tim Offenstein
Never had a problem with character encodings on 
web pages, but since I reinstalled the OS on my 
iMac I have had an issue.


Some of my characters, especially when using ' 
seem to mess up. This is the page, content and 
layout are simple as it's for a uni assignment: 
http://mi-linux.wlv.ac.uk/~0802390/overview.htmlhttp://mi-linux.wlv.ac.uk/~0802390/overview.html


Check out the overview.html page, and notice the 
issues. There is one noticeable in the overview 
page ⤗SOAP⤁


Any ideas?

(for those interested I do plan to publish a 
website regarding the Semantic Web shortly).



James,

Running your page through the W3 Validator 
(validator.w3.org) gives the following response:


Error line 57, Column 20: non 
SGML character number 
145.


        the keyword 
ëSOAPí in a search 
engine will return 
results	


You have used an illegal character in your text. 
HTML uses the standard UNICODE Consortium 
(http://www.unicode.org/) character repertoire, 
and it leaves undefined (among others) 65 
character codes (0 to 31 inclusive and 127 to 159 
inclusive) that are sometimes used for 
typographical quote marks and similar in 
proprietary character sets. The validator has 
found one of these undefined characters in your 
document. The character may appear on your 
browser as a curly quote, or a trademark symbol, 
or some other fancy glyph; on a different 
computer, however, it will likely appear as a 
completely different character, or nothing at all.


Your best bet is to replace the character with 
the nearest equivalent ASCII character, or to use 
an appropriate character entity 
(http://www.w3.org/MarkUp/html3/latin1.html).


For more information on Character Encoding on the 
web, see Alan Flavell's excellent  HTML Character 
Set Issues/a reference 
(http://web.archive.org/web/20060425191748/ppewww.ph.gla.ac.uk/~flavell/charset/).


End of quote.

I always recommend people use UTF-8 because it's 
a much larger character set than ISO-8859-1. I 
also recommend use of XHTML Transitional rather 
than HTML DTD's.


On a side note, I like your page, very 
attractive. But I found the 1, 2, 3, ... buttons 
at the top confusing because I kept trying to 
click the number. Then I tried clicking the blue 
text, both of which produced nothing. Finally my 
cursor wandered over the black text and I 
realized it was the link. Perhaps underlining 
that link or making it dynamic like the button 
would prevent the confusion I encountered. On the 
other hand, perhaps I just need another cup of 
coffee!


Peace,

-Tim



--

   Tim Offenstein  ***  Campus Accessibility Liaison  ***  (217) 244-2700
CITES Departmental Services  ***  www.uiuc.edu/goto/offenstein


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Re: [WSG] Strange character encoding issue

2008-11-19 Thread James Jeffery
Tim,

Yes that is a common problem. Usually I would fix that, but seen as I have
about 3 hours to get this tested and handed in I think I will leave it. I'll
just underline the links :) Thanks for the complement on the design and the
fact you spotted the usability issue. Much appreciated.

James

On Wed, Nov 19, 2008 at 5:09 PM, Tim Offenstein [EMAIL PROTECTED] wrote:

  Never had a problem with character encodings on web pages, but since I
 reinstalled the OS on my iMac I have had an issue.

 Some of my characters, especially when using ' seem to mess up. This is the
 page, content and layout are simple as it's for a uni assignment:
 http://mi-linux.wlv.ac.uk/~0802390/overview.htmlhttp://mi-linux.wlv.ac.uk/%7E0802390/overview.html

 Check out the overview.html page, and notice the issues. There is one
 noticeable in the overview page ⤗SOAP⤠

 Any ideas?
  (for those interested I do plan to publish a website regarding the
 Semantic Web shortly).

 James,

 Running your page through the W3 Validator (validator.w3.org) gives the
 following response:

  Error line 5 7 , C o l u m n 2 0 : n o n S G M L c h a r a c t e r n u m b
 e r 1 4 5 .
   t h e k e y w o r d ë S O A P í i n a s e a r c h e n g i n e w i l l r
 e t u r n r e s u l t s
   You have used an illegal character in your text. HTML uses the standard
 UNICODE Consortium (http://www.unicode.org/) character repertoire, and it
 leaves undefined (among others) 65 character codes (0 to 31 inclusive and
 127 to 159 inclusive) that are sometimes used for typographical quote marks
 and similar in proprietary character sets. The validator has found one of
 these undefined characters in your document. The character may appear on
 your browser as a curly quote, or a trademark symbol, or some other fancy
 glyph; on a different computer, however, it will likely appear as a
 completely different character, or nothing at all.

 Your best bet is to replace the character with the nearest equivalent ASCII
 character, or to use an appropriate character entity (
 http://www.w3.org/MarkUp/html3/latin1.html).

 For more information on Character Encoding on the web, see Alan Flavell's
 excellent  HTML Character Set Issues/a reference (
 http://web.archive.org/web/20060425191748/ppewww.ph.gla.ac.uk/~flavehttp://web.archive.org/web/20060425191748/ppewww.ph.gla.ac.uk/%7Eflave
 ll/charset/).

 End of quote.

 I always recommend people use UTF-8 because it's a much larger character
 set than ISO-8859-1. I also recommend use of XHTML Transitional rather than
 HTML DTD's.

 On a side note, I like your page, very attractive. But I found the 1, 2, 3,
 ... buttons at the top confusing because I kept trying to click the number.
 Then I tried clicking the blue text, both of which produced nothing. Finally
 my cursor wandered over the black text and I realized it was the link.
 Perhaps underlining that link or making it dynamic like the button would
 prevent the confusion I encountered. On the other hand, perhaps I just need
 another cup of coffee!

 Peace,

 -Tim



 --

 
Tim Offenstein  ***  Campus Accessibility Liaison  ***  (217)
 244-2700
 CITES Departmental Services  ***  www.uiuc.edu/goto/offenstein
 

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***