This utility will convert all unicode characters to their html unicdoe values. It will also convert &, <, > and " to their html entity encodings.

You need to make sure your pages are served up as UTF-8
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

Text to encode
Results (click to select)