h() - a replacement for htmlspecialchars() - has been tuned, all occurrences of htmlspecialchars() has been replaced

There were troubles in non-UTF8 applications in PHP5.4, as the default encoding is UTF-8 since PHP5.4