Page 1 of 1

SOLVED!! - Problem with ' Character

PostPosted: 26. April 2010 00:35
by DavenLC
I've noticed that when I do this character ' I get '' in posts in SMF Forums. I've also noticed that it does it on regular Web Pages where a reload is done.
for example, I'd turns into I''d and on edited post it turns into i''''d on regular PHP/HTML Web Pages AND SMF 1.1.11 Forums

Sys Info:
I'm on Win XP Pro SP3, running XAMPP 1.7.3 package.
XAMPP 1.7.3 straight out of the box

PHP.Info:
PHP Version 5.3.1

System Windows NT SERVER 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
Build Date Nov 20 2009 17:20:57
Compiler MSVC6 (Visual C++ 6.0)
Architecture x86
Configure Command cscript /nologo configure.js "--enable-snapshot-build"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File C:\~\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,TS,VC6
PHP Extension Build API20090626,TS,VC6
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
Registered PHP Streams https, ftps, php, file, glob, data, http, ftp, compress.zlib, compress.bzip2, phar, zip
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*, bzip2.*


MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.1.41

default_charset no value no value

Web page Encoding stuff:
<!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"><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="Server Settings" />

Re: Problem with ' Character

PostPosted: 30. April 2010 14:41
by DavenLC
No one has this problem?

Re: Problem with ' Character

PostPosted: 01. May 2010 16:05
by DavenLC
Fixed it!

Turned OFF Magic Quotes and set the default character set to iso-8859-1 in PHP.ini

Re: Problem with ' Character

PostPosted: 01. May 2010 16:07
by JonB
Thanks for posting that info - and letting everyone know how you got it working 8)