[TYPO3-core] RFC: #11458: Russian chars in the comments are encoded wrong when changing the stage of an element

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Jul 16 09:36:23 CEST 2009


Steffen Kamper schrieb:

> now i remember why i hate this stuff.
> 
> My entry string is:
> Московский автобус
> 
> escape/unescape only work on latin installations, fail with utf-8
> (this is used and work on latin, but fail on utf-8)
> 
> encodeURI/decodeURI converts it to utf-8
> (this works on utf-8, but fail on latin)
> 
> So if i'm on a latin system as i tried, and i use encodeURI results in
> following string:
> Московский автобус
> 
> as it was encoded by javascript, used in URI it has to beconverted in
> php to local charset. I tried so much combinations (native php,
> t3lib_cs) but all fail, i never get back my entry string.
> 
> I'm far from any solution (or recommend only useing utf-8)

Suggestion.. mark "forceCharSet" as deprecated and allow only utf8 sites
in 4.5. :)

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list