[Ovillo] OFF TPOPIC: ALGUIEN QUE ME AYUDE PORFA - problemas con codificación "charset=iso-8859-1"
Trent Chandra
trentchandra en gmail.com
Vie Nov 10 14:02:41 UTC 2006
Hola lista.
No encontré otro lugar donde exponer mi problema así que me tomé el
atrevimiento de plantearlo aquí, que creo alguien me va saber ayudar.
El problema se presenta cuando uso el validador de la W3C para un
documento XHTML 1.1 que es la versión en inglés de otro con la misma
estructura que está en español, el siguiente es un fragmento del mismo:
<code>
<!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">
<head>
..............................................................................................................
<meta http-equiv="content-type" content="application/xhtml+xml;
charset=iso-8859-1" />
..............................................................................................................
<meta http-equiv="content-language" content="en" />
..............................................................................................................
..............................................................................................................
..............................................................................................................
</code>
No entiendo porqué me arroja errores si según he leído el iso-8859-1
soporta también el inglés.
El editor que uso es PHP Designer 2006 (la versión gratuita) y jamás he
guardado un solo documento en Unicode, siempre lo guardo con la
codificación por defecto (no dice pero estoy seguro que debe ser ASCII)
es más, es el mismo archivo que el que está español solo que sustituí
"es" por "en" donde correspondía.
Lo raro es que la versión en español valida perfecto. Básicamente me
arroja error en la letra "w" y cuando se usa " ' " por ejemplo en "It's".
¿Alguien me puede ayudar? Muchas gracias a todos.
Que tengan un buen dia!
Saludos, Diego.
Esta es la copia de la página del validador:
W3C QA Markup Validation Service
v0.7.3
* Skip Navigation | Home
* About...
* News
* Docs
* Help & FAQ
* Feedback
Jump To:
* Results
Result: Failed validation, 5 errors
File: webdeveloper_localhost_1163091346609.html
Modified: (undefined)
Server: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1)
Gecko/20061010 Firefox/2.0
Size: (undefined)
Content-Type: text/html
Encoding: iso-8859-1
Doctype: XHTML 1.1
Root Namespace: http://www.w3.org/1999/xhtml
Note: The Validator XML support has some limitations.
This page is not Valid XHTML 1.1!
Below are the results of checking this document for XML well-formedness
and validity.
1. Error Line 61 column 30: non SGML character number 146.
<p>Does it look like it??s been made in 1995? It doesn’t
appear on major
You have used an illegal character in your text. HTML uses the
standard UNICODE Consortium 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.
For more information on Character Encoding on the web, see Alan
Flavell's excellent HTML Character Set Issues reference.
This error can also be triggered by formatting characters
embedded in documents by some word processors. If you use a word
processor to edit your HTML documents, be sure to use the "Save as
ASCII" or similar command to save the document without formatting
information.
?
2. Error Line 61 column 60: non SGML character number 146.
...like it’s been made in 1995? It doesn’t appear on major search
engines? Is
You have used an illegal character in your text. HTML uses the
standard UNICODE Consortium 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.
For more information on Character Encoding on the web, see Alan
Flavell's excellent HTML Character Set Issues reference.
This error can also be triggered by formatting characters
embedded in documents by some word processors. If you use a word
processor to edit your HTML documents, be sure to use the "Save as
ASCII" or similar command to save the document without formatting
information.
?
3. Error Line 90 column 43: non SGML character number 146.
...p id="bienvenida">My name is Diego, I??m a professional
specialized in softwa
You have used an illegal character in your text. HTML uses the
standard UNICODE Consortium 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.
For more information on Character Encoding on the web, see Alan
Flavell's excellent HTML Character Set Issues reference.
This error can also be triggered by formatting characters
embedded in documents by some word processors. If you use a word
processor to edit your HTML documents, be sure to use the "Save as
ASCII" or similar command to save the document without formatting
information.
?
4. Error Line 90 column 481: non SGML character number 146.
... a product that will suit your company’s needs. Contact us and
we’ll send y
You have used an illegal character in your text. HTML uses the
standard UNICODE Consortium 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.
For more information on Character Encoding on the web, see Alan
Flavell's excellent HTML Character Set Issues reference.
This error can also be triggered by formatting characters
embedded in documents by some word processors. If you use a word
processor to edit your HTML documents, be sure to use the "Save as
ASCII" or similar command to save the document without formatting
information.
?
5. Error Line 90 column 508: non SGML character number 146.
...our company’s needs. Contact us and we’ll send you a portfolio
with our ser
You have used an illegal character in your text. HTML uses the
standard UNICODE Consortium 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.
For more information on Character Encoding on the web, see Alan
Flavell's excellent HTML Character Set Issues reference.
This error can also be triggered by formatting characters
embedded in documents by some word processors. If you use a word
processor to edit your HTML documents, be sure to use the "Save as
ASCII" or similar command to save the document without formatting
information.
?
Valid XHTML 1.0! The W3C Validator Team
Más información sobre la lista de distribución Ovillo