Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.lang.php > #2911

Re: Problème codage caractères

From Otomatic <otomatic@oto.invalid>
Newsgroups fr.comp.lang.php
Subject Re: Problème codage caractères
Date 2016-08-02 17:19 +0200
Organization PCatHome&Me
Message-ID <64e1qbdnsptsft8cb8g4le2b2emq093gns@4ax.com> (permalink)
References <nno4se$agh$1@shakotay.alphanet.ch> <579f9af7$0$5425$426a74cc@news.free.fr> <nno703$eei$1@shakotay.alphanet.ch> <nnpros$2ve9$1@cabale.usenet-fr.net>

Show all headers | View raw


Antoine Polatouche <antoine@galacsys.com> écrivait :

> Comme le montre Otomatic ton serveur utilise l'iso-8859-1 par défaut.
> Dans ton html tu as
> <meta http-equiv="Content-Type" content="text/html; charset=utf8" />
> qui doit corriger ça
> (la syntaxe officielle est utf-8 au lieu de utf8)

On pourra mettre 107 directives :
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
si l'entête de la page servie contient :
Content-Type: text/html; charset=iso-8859-1
c'est iso-8859-1 qui sera prioritaire et c'est bien le cas.

HTTP/1.1 302 Found
Date: Tue, 02 Aug 2016 07:29:45 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-22 mod_ssl/2.8.22
OpenSSL/0.9.7e
Location: http://www.sivit.fr/bandeaux/bouton1.gif
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

est le contenu des premières entêtes HTML envoyées par le serveur.

De plus : Apache 1.3 et PHP 4.3 c'est préhistorique.
-- 
Ce n'est pas parce qu'ils sont nombreux à avoir tort
qu'ils ont forcément raison. Coluche

Back to fr.comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Problème codage caractères Yannick <yannick@voyeaud.org> - 2016-08-01 20:45 +0200
  Re: Problème codage caractères Jean Francois Ortolo <ortolo.jeanfancois@free.fr.invalid> - 2016-08-01 20:54 +0200
    Re: Problème codage caractères Yannick <yannick@voyeaud.org> - 2016-08-01 21:21 +0200
      Re: Problème codage caractères Jean Francois Ortolo <ortolo.jeanfancois@free.fr.invalid> - 2016-08-02 08:40 +0200
      Re: Problème codage caractères Antoine Polatouche <antoine@galacsys.com> - 2016-08-02 12:13 +0200
        Re: Problème codage caractères Otomatic <otomatic@oto.invalid> - 2016-08-02 17:19 +0200
          Re: Problème codage caractères Antoine Polatouche <antoine@galacsys.com> - 2016-08-03 01:46 +0200
  Re: Problème codage caractères Otomatic <otomatic@oto.invalid> - 2016-08-02 09:32 +0200
  Re: Problème codage caractères Antoine Polatouche <antoine@galacsys.com> - 2016-08-02 11:55 +0200
  Re: Problème codage caractères Yannick <yannick@voyeaud.org> - 2016-08-02 18:09 +0200

csiph-web