Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> xhtml i charset
kamiseq
post
Post #1





Grupa: Zarejestrowani
Postów: 139
Pomógł: 0
Dołączył: 12.07.2005
Skąd: krakow

Ostrzeżenie: (0%)
-----


moj edytor zglasza blad kiedy umieszczam informacje w meta o uzytej stronie kodowej za pomoca
  1. <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-2" />


atrybut lang mowi tylko o jezyku w ktorym jest napisana strona, ale jak uwzglednic informacje o stronie kodowej? przeciez nawet w funckji header w php podaje te wszystkie informacje co wyzej

help;] (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
kamiseq
post
Post #2





Grupa: Zarejestrowani
Postów: 139
Pomógł: 0
Dołączył: 12.07.2005
Skąd: krakow

Ostrzeżenie: (0%)
-----


ale tego nie waliduje w3school;]

niewierni.. (IMG:http://forum.php.pl/style_emoticons/default/guitar.gif)
----
*Use the 'charset' parameter in the Content-Type header of HTTP. Example:
  1. Content-Type: text/html; charset=EUC-JP

*For XML (including XHTML), use the encoding pseudo-attribute in the xml declaration at the start of a document or the text declaration at the start of an entity. Example:
  1. <?xml version="1.0" encoding="iso-8859-1" ?>

*For HTML, use the <meta> tag inside <head>. Example:
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" >

For XHTML, you need a slash at the end:
  1. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />


[i]tylko czytalem gdzies ze sposob <?xml version="1.0" encoding="iso-8859-1" ?> sie kaszani, moze ktos sie wypowiedziec?

Ten post edytował kamiseq 2.07.2006, 14:45:20
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 18.10.2025 - 00:36