Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: Charset problem  (Read 8513 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
[Solved]: Charset problem
« on: May 02, 2009, 07:27:10 pm »


I have made a search filed on my sites first page, The code to the searchfield look like this.

Code: [Select]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="" xml:lang="se" lang="se" dir="ltr">
<meta http-equiv="Content-Type" content="utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<script type="text/javascript" src="scripts.js"></script>
<table align="left">
<form method="post" action="" name="searchcpg">
<input size="37" type="text" name="search" maxlength="255" value="" class="textinput" />
<input type="submit" value="Snabbsk i arkivet" class="button" />
<input type="hidden" name="album" value="search" />
<input style="display:none" type="checkbox" name="title" id="title" class="checkbox" checked="checked" />
<input style="display:none" type="checkbox" name="caption" id="caption" class="checkbox" checked="checked" />
<input style="display:none" type="checkbox" name="keywords" id="keywords" class="checkbox" checked="checked" />

When i put , in Sweden vi have , in the field and klick on the search button. Coppermine read the letter as "�".
Some ideas to solve this problem.

Best regard,
Sebastian Lindberg
« Last Edit: May 04, 2009, 11:41:06 am by Joachim Mller »


  • Guest
Re: Charset problem
« Reply #1 on: May 02, 2009, 07:50:39 pm »

You can't put one html page inside another like that. Pages can only have one <html> tag and only one charset definition. That page is already set to iso-8859-1. You need to change that page to utf-8 for it to work.

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Charset problem
« Reply #2 on: May 02, 2009, 08:08:13 pm »

Just another gentle reminder here:
Upgrade Your Coppermine Gallery Today!

  SVN version info:
  Coppermine version: 1.4.19
  $Revision: 4392 $
  $LastChangedBy: gaugau $
  $Date: 2008-04-16 09:25:35 +0200 (Mi, 16 Apr 2008) $

You can get hacked with such an outdated version.

(and also,) the pages had an odd look with a mix of languages


  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Charset problem
« Reply #3 on: May 02, 2009, 11:01:28 pm »

Hello an thanks for all help! Now the files are converted and the database is uppgraded.

Thanks again.

Best regards,
Pages: [1]   Go Up

Page created in 0.025 seconds with 20 queries.