Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    AddDefaultCharset UTF-8 vs ISO-8859-1
    timmy
    495 Berichten
    Ingeschreven
    15/08/03

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: nee
    KvK nummer: nvt
    Ondernemingsnummer: nvt

    Thread Starter

    AddDefaultCharset UTF-8 vs ISO-8859-1

    Hoi,

    Ik begrijp niet dat als ik een simple pagina met daarin een charset setting:

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </meta>
    <title>
    hello
    </title>
    </head>
    <body>
    <?php print "hello "; ?>
    </body>
    </html>

    deze niet automatisch door de browser worden opgepakt.
    M.a.w. onder Firefox staat de setting:
    -> View -> Character Encoding -> Western (ISO-8859-1)


    Op de server Apache 2.0 staat:

    #AddDefaultCharset UTF-8
    AddDefaultCharset ISO-8859-1

    In feite klopt het dus maar ik geef de meta tag commando: UTF-8
    en blijft de browser op ISO-8859-1 staan...?

    Dit is wat er nog meer staan in de httpd.conf file:

    #
    # Commonly used filename extensions to character sets. You probably
    # want to avoid clashes with the language extensions, unless you
    # are good at carefully testing your setup after each change.
    # See http://www.iana.org/assignments/character-sets for the
    # official list of charset names and their respective RFCs.
    #
    AddCharset ISO-8859-1 .iso8859-1 .latin1
    AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
    AddCharset ISO-8859-3 .iso8859-3 .latin3
    AddCharset ISO-8859-4 .iso8859-4 .latin4
    AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
    AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
    AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
    AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
    AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
    AddCharset ISO-2022-JP .iso2022-jp .jis
    AddCharset ISO-2022-KR .iso2022-kr .kis
    AddCharset ISO-2022-CN .iso2022-cn .cis
    AddCharset Big5 .Big5 .big5
    # For russian, more than one charset is used (depends on client, mostly):
    AddCharset WINDOWS-1251 .cp-1251 .win-1251
    AddCharset CP866 .cp866
    AddCharset KOI8-r .koi8-r .koi8-ru
    AddCharset KOI8-ru .koi8-uk .ua
    AddCharset ISO-10646-UCS-2 .ucs2
    AddCharset ISO-10646-UCS-4 .ucs4
    AddCharset UTF-8 .utf8



  2. #2
    AddDefaultCharset UTF-8 vs ISO-8859-1
    timmy
    495 Berichten
    Ingeschreven
    15/08/03

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: nee
    KvK nummer: nvt
    Ondernemingsnummer: nvt

    Thread Starter
    iemand een idee hoe ik dit kan oplossen?

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2021 Webhostingtalk.nl.
Web Statistics