forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: mainpower on March 04, 2007, 01:32:21 pm

Title: Strange urlencode after upgrade mysql5
Post by: mainpower on March 04, 2007, 01:32:21 pm
Hello,

I did read a lot of messages about upgrading to mysql5 database. So far I didn't had any problem and converted all to utf-8.
However I still have some strange behaviour with urlencoding. I know the database is correct. Here some output from thumbnails;

Code: [Select]
<td align="center">
                                        <a href="displayimage-12-23.html"><img src="albums/wien2005dec/thumb_Pic024-Pests%C3%A4ule_%28Pest_Pillar%29_at_Graben.jpg" class="image" width="113" height="150" border="0" alt="Pic024-Pestsäule_(Pest_Pillar)_at_Graben.jpg" title="Filename=Pic024-Pestsäule_(Pest_Pillar)_at_Graben.jpg
Filesize=621KB
Dimensions=1712x2288
Date added=13/03/2006"/><br /></a>
                                        <span class="thumb_title">Pestsäule (Pest Pillar) at Graben</span><span class="thumb_title">5 views</span>

PS .. this is just how Coppermine generates the code .. not outlined or what ...

As you can see the filename is Pic024-Pestsäule_(Pest_Pillar)_at_Graben.jpg but for the url he makes it:
thumb_Pic024-Pests%C3%A4ule_%28Pest_Pillar%29_at_Graben.jpg (or Pic024-Pests%C3%A4ule_%28Pest_Pillar%29_at_Graben.jpg).

Any clue on this ??? It's only a problem with special charaters like ä etc ...