/    Sign up×
Community /Pin to ProfileBookmark

utf-8 encoding not working in firefox

Hey everyone,

I can not get firefox to switch to utf-8 encoding on my homepage. Here is the source code (as given by firefox) of my page:

[CODE]
<HTML>
<HEAD>
<META http-equiv=”Content-Type” content=”text/html; charset=utf-8″>
<TITLE>Kontakt-DB</TITLE>
</HEAD>

<FRAMESET cols=”200,*” >
<FRAME name=”leftframe” src=”navigation.php”>
<FRAME name=”mainframe” src=”welcome.php”>

</FRAMESET>
</HTML>[/CODE]

I find this rather strange, and can not find my mistake. Any help would be appreciated.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@Orc_ScorcherJun 10.2006 — 
  • 1. If your server's response headers declare a different charset they take precedence.

  • 2. Content-Type declarations in the parent frame are not inherited by the child frames.
  • Copy linkTweet thisAlerts:
    @Florian_BurkartauthorJun 10.2006 — I have similar headers in my frames, this is the code for the left frame:
    [CODE]
    <HTML>
    <HEAD>
    <META http-equiv="Content-Style-Type" content="text/css">
    <META http-equiv="content-type" content="text/html; charset=UTF-8">
    <BASE target="mainframe">
    </HEAD>

    <BODY>
    öäü
    Navigation:
    <UL>
    <LI> <A HREF="welcome.php"> Home </A>
    <LI> Neu:
    <UL>
    <LI> <A HREF="new.php?new=kon"> Kontakt </A>
    <LI> <A HREF="new.php?new=land"> Land </A>
    <LI> <A HREF="new.php?new=mes"> Messenger </A>
    </UL>
    <LI> Browse:
    <UL>
    <LI> <A HREF="kontakte_main.php"> Kontakte </A>
    </UL>
    <LI> Listen:
    <UL>
    <LI> <A HREF="geburtstage_main.php"> Geburtstage </A>
    <LI> <A HREF="messenger.php"> Messenger </A>
    <LI> <A HREF="mails.php"> Mails </A>
    <LI> <A HREF="mails-ldif.php"> ldif Mails </A>
    </UL>
    <LI> Tabellen:
    <UL>
    </UL>
    </UL>
    </BODY>
    </html>[/CODE]


    I am using apache 2.0. I googled a bit, but didn't directly find how to set the server response headers... any more hints please?
    Copy linkTweet thisAlerts:
    @the_treeJun 10.2006 — [code=php]<?php header('content-type:text/html; charset=UTF-8'); ?>[/code]
    Copy linkTweet thisAlerts:
    @Florian_BurkartauthorJun 10.2006 — Thank you very much, that did the trick.
    ×

    Success!

    Help @Florian_Burkart spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.7,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...