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