Problems with special characters Problems with special characters
 

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]

Main Menu

Problems with special characters

Started by azism, October 09, 2005, 11:44:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

azism

I have run into a problem with special characters in picture text, such as description, title, etc. For example, with a name such as O'Neil, it displays as O\'Neil. For an year, such as '98, it displays as \'98. Same with other characters such as the quote.

Any suggestions???

artistsinhawaii

I run a standalone version of cpg135 and I can't duplicate this anywhere.  Both ' and " show up as typed in the titles and caption fields.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

azism

I guess I didn't mention that this is the standalone 1.35 version, did I? It is. My host is running Apache/1.3.33 (Unix). I don't know if that make any difference of not, but there it is.

artistsinhawaii

Hmm, try downloading a fresh copy of Cpg1.35 and copy over the files except your config.inc.php file.  And see if the problem doesn't go away.

Dennis
Learn and live ... In January of 2011, after a botched stent attempt, the doctors told me I needed a multiple bypass surgery or I could die.  I told them I needed new doctors.

Stramm

I haven't tested it to much... in include/init.inc.php find
$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;');
replace with
$HTML_SUBST = array('&' => '&amp;', '"' => '&quot;', '<' => '&lt;', '>' => '&gt;', '%26' => '&amp;', '%22' => '&quot;', '%3C' => '&lt;', '%3E' => '&gt;','%27' => '&#39;', "'" => '&#39;');

azism

#5
Okay, I will give it a shot and let you know how it goes. Thanks.

Update - I have uploaded and added a couple pictures with the problem characters and they are appearing just fine. Thank you!!!     :)

Fielding

 ;D
That has fixed the problem for me.

Thanks
Fielding