atk4/atk4 — pull request #604 by DarkSide666 (2014-10-26 22:10:44+00:00)
Title: Shared utility method for encoding HTML special chars

* by default don't double encode already existing HTML chars (like ` `)
* by default use default_charset encoding from ini file or fall back to UTF-8 encoding
* replaced `htmlspecialchars` method in almost every ATK file except some where original method call is probably more appropriate (like debug messages)