Topic: XML (XHTML) character encoding? Pages that link to <a href="https://ozoneasylum.com/backlink?for=10815" title="Pages that link to Topic: XML (XHTML) character encoding?" rel="nofollow" >Topic: XML (XHTML) character encoding?\

 
Author Thread
CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 10-06-2002 23:32 Edit Quote

I set my site up at XHTML, and I am using this DTD

code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">



Can someone tell me what the "encoding="UTF-8" is doing? I can't make any sense out of the W3C standards for this.

Link or anything will help.

Thanks in advance.

Later,
C:\


~Binary is best~

Veneficuz
Paranoid (IV) Inmate

From: A graveyard of dreams
Insane since: Mar 2001

IP logged posted posted 10-07-2002 00:01 Edit Quote

After a little googling i found this site that might be of interest: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8.

[edit] I also found this short description: 'UTF-8 is the "Unicode Transformation Format, 8-bit", which packs Unicode characters into 8-bit characters'. [/edit]

_________________________
Anyone who has lost track of time when using a computer knows the propensity to dream, the urge to make dreams come true and the tendency to miss lunch.
- copied from the wall of cell 408 -

[This message has been edited by Veneficuz (edited 10-07-2002).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 10-07-2002 03:27 Edit Quote

CPrompt: What Veneficuz said It basically tells the browser about the character set you will be using. Look here for more information:
http://www.unicode.org

Technically you've probably used Unicode characters already:
http://www.evolt.org/article/A_Simple_Character_Entity_Chart/17/21234/

___________________
Emps

FAQs: Emperor

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 10-07-2002 04:50 Edit Quote

OK, well. . . that is what I thought so I am at a loss here.

My problem is this:

On my site the site validated up until I posted that last thread. If you click on the XHTML validation button, it says "Sorry, I am unable to validate this document because on line 63 it contained some byte(s) that I cannot interpret as utf-8. Please check both the content of the file and the character encoding indication."

When I look at the code, I don't see anythig there that is wrong. No special character. I had some (& quot in there, but took them out and now found out that that is supposed to be allowed. The only thing that I can see is the (& eacute that is in there. But, even taking this out, it still throws this error.

So does anyone see anything that is wrong?

Thanks in advance.


Later,
C:\


~Binary is best~

[This message has been edited by CPrompt (edited 10-07-2002).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 10-07-2002 13:59 Edit Quote

CPrompt: Have a look at:
http://www.w3schools.com/xml/xml_encoding.asp
http://dmoz.org/Computers/Data_Formats/Markup_Languages/XML/Encoding/

___________________
Emps

FAQs: Emperor

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 10-08-2002 20:43 Edit Quote

Well, just to let you what mistake I made.

I actually tyed my last entry in Word and then saved it until I could go online (stupid dial up)

Doing this put in some additional characters that are not allowed.

Thanks to everyone espec. Emps for that W3 schools link.

Later,
C:\


~Binary is best~



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu