forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: jokera on December 01, 2005, 06:08:57 pm

Title: Old problem?Big5,Japanese in UNICODE
Post by: jokera on December 01, 2005, 06:08:57 pm
I use 1.3.5,1.4xbeta,1.4.2,all has the same problem.
When I use IE to see http://coppermine-gallery.net/demo/cpg14x/displayimage.php?album=random&cat=0&pos=-61&lang=chinese_big5 (http://coppermine-gallery.net/demo/cpg14x/displayimage.php?album=random&cat=0&pos=-61&lang=chinese_big5)
It's OK,the charset is UTF-8
(http://jokera.mrs3.com/pg/albums/userpics/10001/CPG001.jpg)
But, when I click the picture to see the original size photo,here comes the problem..
It doesn't set the charset to UTF-8
(http://jokera.mrs3.com/pg/albums/userpics/10001/CPG002.jpg)

I have to modify template.html of all themes that set title before set charset like
(http://jokera.mrs3.com/pg/albums/userpics/10001/CPG003.jpg)
change to
(http://jokera.mrs3.com/pg/albums/userpics/10001/CPG004.jpg)

the same problem is in picEditor.php too(because it doesn't have set charset?!)
Title: Re: Old problem?Big5,Japanese in UNICODE
Post by: donnoman on December 04, 2005, 04:27:41 am
I've updated themes.inc.php and all of the core template.html files to make sure title is set AFTER charset.

I've also brought picEditor.php up to XHTML compliance, and set it's charset.

Jokera, can you grab the latest files from stable cvs and confirm they work properly?

I will make the same changes to devel.
Title: Re: Old problem?Big5,Japanese in UNICODE
Post by: jokera on December 05, 2005, 08:08:16 am
I've updated themes.inc.php and all of the core template.html files to make sure title is set AFTER charset.
I've also brought picEditor.php up to XHTML compliance, and set it's charset.
Jokera, can you grab the latest files from stable cvs and confirm they work properly?
I will make the same changes to devel.
I get the latest file from
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/coppermine co -P stable
I modify themes.inc.php and all template.html for charset problem,and modify picEditor.php for charset not set.
There seems no problem in minibrowser.php and stat_details.php ,but I also modify them.  :-*
You can try it at http://jokera.mrs3.com/stable/index.php (http://jokera.mrs3.com/stable/index.php)
Title: Re: Old problem?Big5,Japanese in UNICODE
Post by: donnoman on December 06, 2005, 04:25:16 am
What EXACTLY did you modify of those files, they should have already been good.

Or I don't understand what you are actually changing in the files.
Title: Re: Old problem?Big5,Japanese in UNICODE
Post by: jokera on December 07, 2005, 05:34:41 pm
Oh..When I grab files from cvs ,time is early than my post 1~2 hours,these files are NOT CHANGED YET.
I don't know why the files are NOT CHANGED.
So,It's OK now,I sure the files get from cvs is newer version.  ;D
Title: Re: Old problem?Big5,Japanese in UNICODE
Post by: donnoman on December 08, 2005, 04:16:04 am
there is a lag time between when devs make commits, before they are available via anonymous cvs.