Char to HTML entities.