i am developing an android “app” using phonegap.
I have trouble displaying special characters used in the german language (like ö ä ü) in javascript alert-boxes…
The Header of my index.html looks something like this:
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" charset="utf-8" />
Is there a way to display special characters correctly in alert boxes ?
You have to HTML escape the characters:
produces the correct output for me.