Enable Unicode support for SCSS Compiler
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Jun 2021 13:33:09 +0000 (15:33 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 24 Jun 2021 13:38:29 +0000 (15:38 +0200)
commit5c57a1762e1c7520423014ee179ae2ca9139c920
tree39171b8a3de3b9c6ad1049f348d141b01a983151
parent8258a5c2c7cb588b4e931524aa965419a6d0933a
Enable Unicode support for SCSS Compiler

The large performance difference measured back when this was introduced appears
to be gone. On PHP 8 both encodings appear to be equally fast. On PHP 7.4 the
UTF-8 version is ~25% slower, which is certainly not ideal, but not as bad as a
7× increase. In any case the UTF-8 version completes in way less than 2 seconds
which I consider to be the line that the CSS compiler should not cross.

Resolves #4339
see #4274
wcfsetup/install/files/lib/system/style/StyleCompiler.class.php