Eastern charcters in FCKeditor

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Eastern charcters in FCKeditor

Post by Tata » Thu Aug 14, 2008 12:03 pm

Everything works just fine with FCKeditor. The only problem cause eastern charcters (e.g. in SK, CZ). They are not shown correctly. But either I looked wrong or simply have not find a hint where (in which files) to define charset for windows-1250.

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: Eastern charcters in FCKeditor

Post by Connie » Thu Aug 14, 2008 7:10 pm

Tata,

is the template UTF-8 and the editor UTF-8? That would be the perfect solution...

have a test for that, if not tell us, I could check it at the weekend

Connie
|---
Connie Müller-Gödecke, http://www.webdeerns.de

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Eastern charcters in FCKeditor

Post by Tata » Sun Aug 24, 2008 5:18 pm

Now after some diskussion with Connie, here is an example of what is my problem about.
Open the site at http://microregion.cmsimple.sk - it is only a test copy, so you may log in and use the "test" password. Content files are writeprotected, so you cannot save them. But have a look at the wery first page. For a user who doesn't know anything about charsets etc. it may be wery confusing to see the text like this. To find and correct eventual mistakes is almost impossible in this editable text. The worst is that after saving the page, the same text goes on the screen.

"Pplaying" with

Code: Select all

FCKConfig.ProcessHTMLEntities	= true ;
FCKConfig.IncludeLatinEntities	= true ;
FCKConfig.IncludeGreekEntities	= true ;
and inserting DOCTYPE definition into the config files brought some changes but has not solved the problem. Even after each SAVE or only by switchin between PREVIEW/EDIT mode (even without any change in the text) the line of coded characters grows.
Original text of the page "Region" looks like this:
Región
Vážení návštevníci mikroregiónu Podbranisko,

vítame Vás v našej krásnej spišskej kotline, pod pohorím Branisko, ktoré je východnou vstupnou bránou na Spiš.

Opening the page first time in FCKEditor I get this:
****************
Región
Vážení návštevníci mikroregiónu Podbranisko,

vítame Vás v našej krásnej spišskej kotline, pod pohorím Branisko, ktoré je východnou vstupnou bránou na Spiš.
****************
Saving it without any change the TOC item also changes to Región and the text after logout looks like this:

Región
Vážení návštevníci mikroregiónu Podbranisko,

vítame Vás v našej krásnej spišskej kotline, pod pohorím Branisko, ktoré je východnou vstupnou bránou na Spiš.

Any idea?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply