coppermine-gallery.com/forum

Support => 中文 (Chinese) => Closed boards => Language Specific Support => cpg1.4.x 中文 (Chinese) => Topic started by: a-amp on December 19, 2005, 08:28:43 AM

Title: chinese_gb.php & chinese_gb-utf-8.php
Post by: a-amp on December 19, 2005, 08:28:43 AM
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,

Title: Re: chinese_gb.php & chinese_gb-utf-8.php
Post by: 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.
Title: Re: chinese_gb.php & chinese_gb-utf-8.php
Post by: a-amp on December 19, 2005, 05:10:24 PM
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,
Title: Re: chinese_gb.php & chinese_gb-utf-8.php
Post by: 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
Title: Re: chinese_gb.php & chinese_gb-utf-8.php
Post by: a-amp on December 19, 2005, 05:39:02 PM
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.