[TYPO3-RTE] German Umlauts are replaced by strange char's, when inserted via copy and paste

Uwe Schmelzer us at planungsgruppeinternet.de
Sun Mar 19 22:20:50 CET 2006


Martin Kutschker wrote:
> Uwe Schmelzer schrieb:
>> Hi,
>>
>> I've got a ...
>>
>> Problem
>> --------------------------
>> German Umlauts are replaced by strange char's,
>> when inserted via copy and paste.
>>
>> To Repeat the behaviour
>> --------------------------
>> 1. Use your keyboard to type in some german umlauts into the RTE
>> ÄÖÜ äöü
>>
>> Result: All good.
>>
>> 2. Copy & Paste what you just have typed in:
>> ��� äöü
>>
>> Result: All bad. Strange Chars appear.
> 
>  From where do you copy? The chars you posted are typical for UTF-8 
> characters displayed as iso-8859-1.
1. I've copied from RTE to RTE
2. I've copied from my texteditor
2.1 Format: ASCII Text to RTE
2.2 Format: UTF-8 Text to RTE

The Result is always the same.

> 
> And what is the setting of forceCharset?
> 
1. According to
Tools > Install > install-tool, it is not set.

[BE][forceCharset] =

2. According to
Tools > Configuration > $TYPO3_CONF_VARS, it is not set, either.



> Masi
Thanks for your the Questions.

I did some more tests:

Test #1 - Set charset value
--------------------------------------------------------
Just to give it a try, I've set:
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'iso-8859-1'
(Cleared the FE+Conf-Cache) and re-logged-in to typo3.

--> No changes, same bug



Test #2 - Try different Typo3 version (on same machine)
--------------------------------------------------------
On the same machine lives a typo3 v3.81 Installation
with a different htmlArea RTE (1.2.0) version.
The misbehaviour is happening there, too.
Typo3 3.8.1
PHP   4.4.2-1
MySQL 4.0.24_Debian-9-log
RTE rtehtmlarea 1.2.0 (not 1.3.0)

--> No changes, same bug


Test #3 - Try different Typo3 version (on other machine)
--------------------------------------------------------
The project from Test#3 is hosted on another machine.
different Typo3 Version 3.8.0
different PHP   Version 4.x
different MySQL Version 4.0.25
RTE rtehtmlarea         1.2.0 (not 1.3.0)

--> It works, but why?
--> Could be the typo3 version, the php version or the mysql version.
--> As far as I know, MySQL 4.0 is not able to handle UTF-8 chars, so it 
   might not be an Unicode problem?



cheers
uwe



More information about the TYPO3-project-rte mailing list