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


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

Re: Problème codage caractères

From Antoine Polatouche <antoine@galacsys.com>
Newsgroups fr.comp.lang.php
Subject Re: Problème codage caractères
Date 2016-08-03 01:46 +0200
Organization There's no cabale
Message-ID <nnrbdd$184d$1@cabale.usenet-fr.net> (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> <64e1qbdnsptsft8cb8g4le2b2emq093gns@4ax.com>

Show all headers | View raw


Le 02/08/2016 à 17:19, Otomatic a écrit :
> 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.
Je ne crois pas.
Et comme nous a dit Yannick, le problème venait de caractères iso-8859-1
retournés par la requête SQL.
Sa page affiche correctement le texte non issu de la requête qui
contient des é ô ç ...
Et son en-tête est:

Date: Tue, 02 Aug 2016 23:39:38 GMT
Server: Mutu-Nerim
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: no-cache
Transfer-Encoding: chunked
Content-Type: text/html

200 OK

au moment où je l'ai récupérée...

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