|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
icebreakr Smarty n00b
Joined: 08 Sep 2003 Posts: 2 Location: Slovenia, EU
|
Posted: Mon Sep 08, 2003 9:29 am Post subject: UTF-8 in IE6 doesn't show up properly on first load |
|
|
I'm using the header:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<LINK REL="SHORTCUT ICON" HREF="{$pri->www_root}/favicon.ico">
<link rel="icon" href="{$prj->www_root}/favicon.ico" />
<title>{$pri->title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
.... but every time the page loads the UTF-8 isn't displayed properly. IE6 automatically detects "Western European (DOS)" mode in AutoSelect. When I reload the page with refresh/F5 everything works fine. Any clues how to fix that? Experienced the same problem?
Thanks all!
Ice |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Sep 08, 2003 9:36 am Post subject: |
|
|
although not a real smarty-problem: i had similar problems with IE and solved it by sending a header with:
Code: | header('Content-Type: text/html; charset=utf-8'); |
before display().
this fixed it for me. |
|
Back to top |
|
icebreakr Smarty n00b
Joined: 08 Sep 2003 Posts: 2 Location: Slovenia, EU
|
Posted: Mon Sep 08, 2003 9:46 am Post subject: |
|
|
7 minutes... damn, you're good
T h a n k s! The problem solved and hopefully this will help others, too... |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|