0

Hi,

I am currently trying to do a website with both chinese and englis text, and I have problems displaying chinese text. I uploaded a set of identical website files to 2 different servers and domains, and one displays chinese character but has messed up layout, the other does not display the chinese character (instead it's all ?????) but the layout is ok.

The website is all in PHP and uses include() generate each part of a web page. The PHP files are ANSI for those where there is no chinese, and UTF where there is.

I am wondering if the file encoding affects the HTML output. For example, it might be the case that it generate different parts of the file in differet encoding such that there is no uniform encoding?

Any idea if this is the case or what else can it be?

Thanks.

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by jakesee
0

Hi

This code in HTML affect the encoding

<META http-equiv="Content-Type" content="text/html; charset=gb2312">

The charset in this example is for Chinese website.

0

Thanks it20219 for the response.

I had solve the language problem and I forgot to update this post with the solution, which is to use "UTF 8 without BOM" instead of just "UTF 8".

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.