Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Old problem?Big5,Japanese in UNICODE  (Read 6811 times)

0 Members and 1 Guest are viewing this topic.

jokera

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • 那顆爛蔥 專屬相簿
Old problem?Big5,Japanese in UNICODE
« 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
It's OK,the charset is UTF-8
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fjokera.mrs3.com%2Fpg%2Falbums%2Fuserpics%2F10001%2FCPG001.jpg&hash=7094ae1156c22b6f4757138887a6135a7a593939)
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
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fjokera.mrs3.com%2Fpg%2Falbums%2Fuserpics%2F10001%2FCPG002.jpg&hash=901c81bbaea68ccae9f168e281a836d12dc498a3)

I have to modify template.html of all themes that set title before set charset like
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fjokera.mrs3.com%2Fpg%2Falbums%2Fuserpics%2F10001%2FCPG003.jpg&hash=8c7db386668383b948fd0610c55a4135f3d1e9c9)
change to
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fjokera.mrs3.com%2Fpg%2Falbums%2Fuserpics%2F10001%2FCPG004.jpg&hash=92676550eb48e88bfbe1fd3350aeca2cf94433e0)

the same problem is in picEditor.php too(because it doesn't have set charset?!)
« Last Edit: August 10, 2006, 08:38:00 am by GauGau »
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Old problem?Big5,Japanese in UNICODE
« Reply #1 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.
Logged

jokera

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • 那顆爛蔥 專屬相簿
Re: Old problem?Big5,Japanese in UNICODE
« Reply #2 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
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Old problem?Big5,Japanese in UNICODE
« Reply #3 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.
Logged

jokera

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • 那顆爛蔥 專屬相簿
Re: Old problem?Big5,Japanese in UNICODE
« Reply #4 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
Logged

donnoman

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1615
  • From donovanbray.com
    • Donovan Bray
Re: Old problem?Big5,Japanese in UNICODE
« Reply #5 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. 
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.