Bug #14105
closedtslib_content does not handle ouput charset
0%
Description
The class cObj provides TS-stdWrap mechanisms to manipulate strings (eg substring and caseshift). These routines don't work with multi-byte charsets and they have problems with charsets other than iso-8859-1/windows-1552.
Proposed solution: make use of the new functions of t3lib_cs.
(issue imported from #M11)
Files
Updated by old_root old_root over 20 years ago
Assiged to masi himself because he's responsible for charset issues. (right?)
Updated by Martin Kutschker over 20 years ago
Uploaded tslib_content_changes.txt containing updates and new functions for tslib_content.php. The fix solves all of the problems I'm currently aware of.
Note that the internal var $charset MUST be set by the caller (default is iso-8859-1). Only the creator knows on what data the class works on. So at least tslib_fe.php must be changed to set the charset after cerateing the default cObj depending on it's on variable $siteCharset. Warning: $siteCharset is currently only initialized after a call to initLLvars()!
Updated by old_root old_root over 20 years ago
Since Masi hasn't got enough CVS write access in order to resolve this bug, I'm going to assign it to Kasper instead.
Kasper, have a look at Masi's tslib_content_changes.txt.
Updated by Martin Kutschker about 20 years ago
Nothing more to say, besides a back port to 3.6 would be nice :-)