1) Sophocles J. TsividesGroup: Guests IP: 77.49.--.--
Posted:
Hi, I'm testing the "HTMLHttpRequest v1.0beta3" for a web site i'm trying to build. Greek language in the content html pages, does not appear (question marks instead) in Opera, Netscape & Firefox. Regards cryonics2003@yahoo.gr
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.118.--.--
Posted:
Make sure all your pages are set to the same charset -- both the loading document and the loaded document. I would suggest UTF-8 is a reasonable choice, provided you have a Unicode capable text editor, or failing that the ISO greek character set.
Good luck - Angus.
3) Sophocles J. TsividesGroup: Guests IP: 77.49.--.--
Posted:
But.. Forgot to mention that in IE everything works fine. All the other browsers have the problem with "?" instead of greek characters. All content pages have Charset set to "iso-8859-7" Regards Sophocles
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.118.--.--
Posted:
Check to make sure that they are all valid XHTML as well (presuming you are using that document format?). Otherwise, trial UTF-8 as a charset which is a lot more flexible. There's nothing in the script that stops it working with non-English languages.
- Angus.
5) Sophocles J. TsividesGroup: Guests IP: 77.49.--.--
Posted:
Problem solved. In order greek lang to work for Opera, Netscape & Firefox, all Content Pages need at the very start of them: <?xml version="1.0" encoding="iso-8859-7" ?> Regards Sophocles
6) molendijkGroup: Members Posts: 78Joined: 29 Nov 2005Location: The Netherlands (Groningen)IP: 84.86.--.--
Posted:
Hello Angus, I downloaded your HttpRequest script, put a 'é' in the text of htmlhttprequest.html, put also a 'é' in the text of advantages.html. In both cases, the French character does not display correctly: I get '?' in FF, anaother weird sign in IE. In both files, we have '<meta http-equiv="Content-type" content="text/html; charset=utf-8" />'. I tried other charsets (uniformly), but nothing works for all browsers and all files at the same time. Do you know what's the problem? (This is something you often see with Ajax-requests).