Standardcoding utf-8 with a fresh install?

Discussion in 'Installation/Configuration' started by schmidtedv, Jul 31, 2008.

  1. schmidtedv

    schmidtedv Member HowtoForge Supporter

    I put back on my forum (phpbb) after server-install and with
    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    in header I suppose it should show up correct right away. ISPConfig (php or apache with perfect debian etch setup) shows this coded as utf-8 in browser, so umlauts are not readable anymore...

    Any idea where to look or what to change to get it show up the right way? Just put generally iso-8859-1 into apache and php-config can not be the usual/right way i guess.

    EDIT: Probably found it.../etc/apache2/conf.d/charset tells apache to use "AddDefaultCharset UTF-8" and this overrides my meta for the phpbb-forum. Is there a special reason for this charset-conf so that i just can change it into iso-8859-1 or is just my forum-header not working the right way...even with default-charset, the browser should notice the header...or not????
     
    Last edited: Jul 31, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can change the charset to iso-8859-1, utf-8 is just the debian default.
     
  3. schmidtedv

    schmidtedv Member HowtoForge Supporter

    ...i thought something like this, however it would probably a nicer way to leave it empty...i wonder why myforum does show up wrong although it has an iso metatag in the header....maybe the debian default cannot be overwritten manually in php as it should like in normal html-files (do i need another php mod for this that it checks header of files?)?
     

Share This Page