chinese_gb.php & chinese_gb-utf-8.php chinese_gb.php & chinese_gb-utf-8.php
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

chinese_gb.php & chinese_gb-utf-8.php

Started by a-amp, December 19, 2005, 08:28:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

a-amp

Hi,

What is the difference between chinese_gp and chinese_gp-utf-8?  If I have only chinese_gb-utf-8.php, is that good enough?

Thanks,


CapriSkye

im assuming you're talking about chinese_gb
chinese_gb-utf-8 is used for 1.3x because you can choose to use gb or utf-8 encoding.
now 1.4x uses utf-8 for all languages, so there's no chinese_gb version anymore.
you can only choose one at a time, so you're good either way.
just make sure the file is in utf-8.

a-amp

Quote from: CapriSkye on December 19, 2005, 03:21:59 PM
im assuming you're talking about chinese_gb
chinese_gb-utf-8 is used for 1.3x because you can choose to use gb or utf-8 encoding.
now 1.4x uses utf-8 for all languages, so there's no chinese_gb version anymore.
you can only choose one at a time, so you're good either way.
just make sure the file is in utf-8.

Yes, I am talking about chinese_gb.

I have just upgraded to 1.4.2 and chinese_gb-utf-8 is included.  My own chinese text is only properly displayed when I use chinese_gb-utf-8.  It came out as garbage when I use chinese_gb.  I assume chinese_gb-utf-8 is good enough. 

Can I delete chinese_gb.php?

Also I found that the chinese text is not displayed properly if I use chinese_big5-utf-8.  It is ok if I use chinese_big5.  I am pretty confused by it.

Thanks,

CapriSkye

for people upgrading cpg, the files are not removed i think.
if you do a clean install of 1.4x, you won't find chinese_gb-utf-8.php.

if chinese_gb-utf-8 works for you, you can delete chinese_gb.php

a-amp

Quote from: CapriSkye on December 19, 2005, 05:21:54 PM
for people upgrading cpg, the files are not removed i think.
if you do a clean install of 1.4x, you won't find chinese_gb-utf-8.php.

if chinese_gb-utf-8 works for you, you can delete chinese_gb.php

Great and thanks.