dbldutch21
Programmer
- Aug 12, 2007
- 3
If I have the following setup
HTML FILE
JAVASCRIPT FILE - default.js
The Spanish characters in the alert show up as boxes. Does anyone know how to fix this?
Thank you.
HTML FILE
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml"[/URL] lang="es" xml:lang="es">
<head>
<title>Javascript Test</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="default.js"></script>
</head>
<body>
Test
</body>
</html>
JAVASCRIPT FILE - default.js
Code:
alert('Esto no está trabajando');
The Spanish characters in the alert show up as boxes. Does anyone know how to fix this?
Thank you.