Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - why do I get question marks instead of bullets ??? >Thread Next - Re: why do I get question marks instead of bullets ??? Re: why do I get question marks instead of bullets ???To: NULL Date: 6/4/2004 8:36:00 AM My guess is that font or the char set you specified is not understood
by all pcs. My suggestion is to use an image of arrows instead.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Eric Osman" <ericosman@r...> wrote in message
news:39db9bff.0406021409.46e336d5@p......
> <!--
>
> Please tell me :
>
> Why are the bullet marks shown as question marks ? How should I
> fix the following code ?
>
> To see the problem, please run this html file and click on the button.
>
> Author: ericosman@r... 6/02/2004
>
> -->
>
> <html><head><title>Read Data From Web Page</title>
> <script>
> function doit() {
> req = new ActiveXObject('Msxml2.XMLHTTP');
> var url = "http://www.aaamidatlantic.com/savings/default_aloha.asp";
> req.open('GET', url, false);
> req.setRequestHeader("Content-Type", 'text/xml; charset="ISO-8859-1"');
> req.setRequestHeader("Accept-Charset", "iso-8859-1");
> req.send("");
> var t = req.ResponseText;
> t = t.substring(t.indexOf("Member Benefits include"), t.length);
> var endStr = "discount off first";
> t = t.substring(0, t.indexOf(endStr) + endStr.length);
> document.getElementById("resultsDiv").innerHTML =
> "Why does the following text have question marks instead of bullets
> ?<br>"
> + t;
> }
> </script>
> </head><body><button onClick="doit()">Press to read the data</button><br>
> <div id=resultsDiv></div></body></html>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
