You can't use special characters in alert or confirm as they don't take special character directly,instead you can use \u escape sequence in the JavaScript string literal to display these characters.
alert("\u00e6\u00f8\u00e5")
to get output like this æøå
You can find utf-8 equivalent for character you want here