forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 language => Topic started by: seblin001 on May 02, 2009, 07:27:10 pm
-
Hello!
I have made a search filed on my sites first page, www.uppsalabilder.se. The code to the searchfield look like this.
-------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="se" lang="se" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="utf-8" />
<meta http-equiv="Pragma" content="no-cache" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<table align="left">
<form method="post" action="http://www.uppsalabilder.se/coppermine/thumbnails.php" name="searchcpg">
<input size="37" type="text" name="search" maxlength="255" value="" class="textinput" />
<input type="submit" value="Snabbsök 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" />
</form>
</table>
--------------------------------
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
-
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.
-
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
-
Hello an thanks for all help! Now the files are converted and the database is uppgraded.
Thanks again.
Best regards,
/Sebastian