This online WYSIWYG html5 compliant editor also automatically converts special characters (like vowels with umlaut, etc) into name references (HTML entities).
http://htmleditor.in/index.html
Paste your code in it whil it's in source mode, turn it to visual mode and back to source mode and they will be converted.