Results 1 to 1 of 1

Thread: utf-8 problem

  1. #1
    Join Date
    Mar 2006
    Location
    Slovenija
    Beans
    260
    Distro
    Ubuntu 8.04 Hardy Heron

    utf-8 problem

    if i have
    header('Content-Type: text/html; charset=utf-8');

    utf-8 on page works

    but if i have

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>
    <title>Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <style type="text/css">
    </style>
    </head>
    <body>

    then not working.

    I think that apache does not send header automatically any more. Any idea how to fix that?
    Last edited by mitjab; February 4th, 2009 at 10:31 AM.
    Juventus the champion

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •