markhartnady
02-07-2006, 12:11 PM
Hi. I have a PHP file that is interpreted at run-time bringing together 4 or 5 include files. Most of these files (with extentions "tpl" and "inc") are either ANSI encoded or UTF-8 encoded.
I have tried in the HEADER include file to change the encoding to UTF-8 by adding:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head>
etc...
But this doesn't help... I still have to MANUALLY change Internet Explorer / Firefox settings by clicking on VIEW -> ENCODING -> UNICODE (UTF8) in order to have the correct display, otherwise it comes out a garbled mess.
Please see this (http://langues.p-maps.org/pmaps/subscribe_info.php?sess_is_visitor=1&lan=cn) to understand what I am talking about.
I don't want the user to manually change the encoding... how to make it automatic?
素不相识
I have tried in the HEADER include file to change the encoding to UTF-8 by adding:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head>
etc...
But this doesn't help... I still have to MANUALLY change Internet Explorer / Firefox settings by clicking on VIEW -> ENCODING -> UNICODE (UTF8) in order to have the correct display, otherwise it comes out a garbled mess.
Please see this (http://langues.p-maps.org/pmaps/subscribe_info.php?sess_is_visitor=1&lan=cn) to understand what I am talking about.
I don't want the user to manually change the encoding... how to make it automatic?
素不相识