Escape HTML characters for safe display in web pages or unescape entities to their original form. Unicode-safe and fast.