Problems with Apache and special characters

This is a discussion on Problems with Apache and special characters within the PHP Language forums, part of the PHP Programming Forums category; Michael Fesser wrote: > The whole situation with the meta-charset-thing is rather paradox: The > information about the ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 12-15-2004
John Dunlop
 
Posts: n/a
Default Re: Problems with Apache and special characters

Michael Fesser wrote:

> The whole situation with the meta-charset-thing is rather paradox: The
> information about the used encoding is stored inside the document, so
> the UA has to decode the document first to know how to decode it ...


The HTML4.01 spec says:

| The META declaration must only be used when the character
| encoding is organized such that ASCII-valued bytes stand
| for ASCII characters (at least until the META element is
| parsed). META declarations should appear as early as
| possible in the HEAD element.

http://www.w3.org/TR/html401/charset...-char-encoding

See also news:c5jjd9$2elhn$1@ID-114100.news.uni-berlin.de .

(Sorry, I don't know how best to refer to threads in groups-
beta (spit). That's the message-id of the first article.)

--
Jock
Reply With Quote
  #12 (permalink)  
Old 12-15-2004
Michael Fesser
 
Posts: n/a
Default Re: Problems with Apache and special characters

.oO(Tony Marston)

>Not if you supply that information on an HTTP header, as in:-
>
>header('content-type:text/html; charset=UTF-8');


That's how it's supposed to be. If I do it correctly in the server's
response header I don't need that meta-thing anymore.

Micha
Reply With Quote
  #13 (permalink)  
Old 12-15-2004
Michael Fesser
 
Posts: n/a
Default Re: Problems with Apache and special characters

.oO(John Dunlop)

>See also news:c5jjd9$2elhn$1@ID-114100.news.uni-berlin.de .
>
>(Sorry, I don't know how best to refer to threads in groups-
>beta (spit). That's the message-id of the first article.)


Then use the "old" Google Groups. ;)

http://groups.google.com/groups?thre....uni-berlin.de

Interesting thread BTW.

Micha
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0