Turns out class.t3lib_cs.php depends on class.t3lib_div.php. Will drop
the two commits before we go into HEAD.
This reverts commit 5768bf6fb4dfa334dc81a80d26111904c4d13abd.
The largest of the 2 typo3 libs we ship in Moodle is never used. So
don't even parse it.
This takes Moodle's "default homepage" from 1.8MB to 1.6MB of PHP.
Tiny, but every bit helps...
any entity (numerical and html) to utf-8, providing a PHP4 and PH5
way to do the work.
Also, added the code2utf8() function to convert Unicode code numbers
to UTF-8 chars.
Merged from MOODLE_18_STABLE
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables.
Author: Luke Hudson <luke@catalyst.net.nz>
* text is converted to unicode - no html entities anymore
* then all nonascii chars are converted to decimal number entites
* default.ttf is searched in dataroot/lang and local language packs too
* removed lang_decode() - obsoleded by proper entity converison above
* updated documentation in lang/en_utf8/fonts/README.txt
merged from MOODLE_16_STABLE