Problem with special character in charset=windows-1250

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
tereza

Problem with special character in charset=windows-1250

Post 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...
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problem with special character in charset=windows-1250

Post by tsw »

why do you want to use windows-1250?

use utf8 and be happy.
tereza

Re: Problem with special character in charset=windows-1250

Post 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?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problem with special character in charset=windows-1250

Post by tsw »

Anything in server logs?

can you enable error messages to browser from php settings?
tereza

Re: Problem with special character in charset=windows-1250

Post by tereza »

Im working in localhost
If you could tell me with some more details what to do
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Problem with special character in charset=windows-1250

Post 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.
tereza

Re: Problem with special character in charset=windows-1250

Post 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.
Locked

Return to “CMSMS Core”