Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: why do I get question marks instead of bullets ???

From: ericosman@---.--- (---- -----)
To: NULL
Date: 6/7/2004 11:46:00 AM
That answer is not useful.

What I'm trying to find out is why I get characters of value 65535
coming back in the data instead of the actual bullet characters.

Thank you.   ericosman@r...


"S. Han" <@> wrote in message news:<40c0963e$1@n...>...
> 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>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent