The `fromCharCode` function does work well at all times. I'd recommend using a cross compatible converter like http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt