gudfry Posted August 1, 2008 Share Posted August 1, 2008 hi all; I' am using the encoding type utf8- and its works on the firefox. but when i run my index on the IE 6 and IE 7 it does not detect the utf8. what seems to the problem of this? Can put the type of encoding so that my page would run in deffernt browser? Quote Link to comment https://forums.phpfreaks.com/topic/117665-solved-encoding-type-problem/ Share on other sites More sharing options...
DarkWater Posted August 1, 2008 Share Posted August 1, 2008 How are you setting the encoding? Quote Link to comment https://forums.phpfreaks.com/topic/117665-solved-encoding-type-problem/#findComment-605236 Share on other sites More sharing options...
gudfry Posted August 1, 2008 Author Share Posted August 1, 2008 hi dark water this is the way i have my index header <?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?".">"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head id="Home"> this works only in firefox, but it doesnt work on the IE 6 and IE 7 Quote Link to comment https://forums.phpfreaks.com/topic/117665-solved-encoding-type-problem/#findComment-605238 Share on other sites More sharing options...
DarkWater Posted August 1, 2008 Share Posted August 1, 2008 Remove that PHP line and inside the <head> tag, put: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> Quote Link to comment https://forums.phpfreaks.com/topic/117665-solved-encoding-type-problem/#findComment-605240 Share on other sites More sharing options...
gudfry Posted August 1, 2008 Author Share Posted August 1, 2008 hi, I try. Quote Link to comment https://forums.phpfreaks.com/topic/117665-solved-encoding-type-problem/#findComment-605241 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.