[Typo3-dev] Charsets Magics TYPO3 3.7.1 <-> rtehtmlarea 0.7.0

Peter Russ peter.russ at 4many.net
Tue Aug 30 18:15:15 CEST 2005


Situation:
Setup charset in BE to iso-8859-1 and FE to iso-8859-15.
In RTE non-SGML characters, e.g.  „“ could be displayed without any 
problems. Also in BE they are displayed as expected.

In FE due to character conversion from 8859-1 to 8859-15 via UTF-8 the 
characters are lost and are displayed as '?' :-(

Changed BE to 8859-15. Now the characters are displayed correctly in FE. 
BUT RTE replaces the &#8220; to &amp;#8220; and so can't display the 
chararcter correctly.

Fix:
Disabled
str = str.replace(/&/g, "&amp;");
in
htmlarea.js

Now when the side loads the characters are still not displayed as they 
should. But switching from wysiwyg to text and back solves the problem.

Fix:
Added
	this.setMode(this._editMode);
at the end of HTMLArea.prototype.stylesLoaded
in htmlarea.js

So my question is if there is a other way to fix or is this a bug either 
in TYPO3 and/rtehtmlarea?


Thanks your any hints.

Regs. Peter.

-- 
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list