Page 1 of 1
Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 12:45 pm
by tereza
Hello
I'm new in this CMSMS world, so if my question is already answered somewhere else, please give me link, and don't delete my topic.
My problem is, when I add some special chars in page content, page content disappears. Actually I get message: * No Content given! By special chars i mean: č,ć,š,ž...
In php.ini I set charset=windows-1250 and in {meta} also.
Please help...
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 2:13 pm
by tsw
why do you want to use windows-1250?
use utf8 and be happy.
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 6:00 pm
by tereza
First I've tried with utf-8 first, and had same problem.
Probably, I didn't explain well.
When I use Content->Pages->Add New Content or Edit,
and when I add characters like č,ć,š content disappears when I submit it. I got page with no content! And please don't tell me, not to use these chars because I must
Did anyone have same problem?
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 6:24 pm
by tsw
Anything in server logs?
can you enable error messages to browser from php settings?
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 6:32 pm
by tereza
Im working in localhost
If you could tell me with some more details what to do
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 6:43 pm
by tsw
find the server logs, do a tail on the log and retry the operation.
Or find the php.ini file and check that you are sending errors to browser.
Now before you ask where the server log is, I suggest using google a bit.
and I guess by your charset that you are running windows. I for one wont do any support for windows (without a big fat paycheck) so hopefully someone else can help with that.
Re: Problem with special character in charset=windows-1250
Posted: Sun Dec 02, 2007 7:10 pm
by tereza
127.0.0.1 - - [02/Dec/2007:20:07:18 +0100] "GET /cmsmadesimple/admin/addcontent.php HTTP/1.1" 200 14168
127.0.0.1 - - [02/Dec/2007:20:07:19 +0100] "GET /cmsmadesimple/admin/style.php HTTP/1.1" 200 13069
127.0.0.1 - - [02/Dec/2007:20:07:20 +0100] "GET /cmsmadesimple/modules/TinyMCE/tinyconfig.php HTTP/1.1" 200 3378
127.0.0.1 - - [02/Dec/2007:20:07:21 +0100] "GET /cmsmadesimple/modules/TinyMCE/content_css.php?mediatype=screen&templateid=26 HTTP/1.1" 304 -
127.0.0.1 - - [02/Dec/2007:20:07:41 +0100] "POST /cmsmadesimple/admin/addcontent.php HTTP/1.1" 302 5164
127.0.0.1 - - [02/Dec/2007:20:07:43 +0100] "GET /cmsmadesimple/admin/listcontent.php?message=contentadded HTTP/1.1" 200 21621
127.0.0.1 - - [02/Dec/2007:20:07:44 +0100] "GET /cmsmadesimple/admin/style.php HTTP/1.1" 200 13069
(access log, noting new in error log)
Content was:
Č ć ž
And when I hit View Site, noting is displayed in content area. Sending errors to browser enabled, but no errors in browser.