Quantcast
Channel: VBForums - ASP, VB Script
Viewing all articles
Browse latest Browse all 688

weird characters showing up in html

$
0
0
I have a project that gets input from an xml file that we extract information from select nodes.

One of the does we take the info and just output in a <pre> tag since it's already formated from source.

We started seeing all these B's in the output so I ran a loop through all the characters and display the ascii value to see what it is and this is what I get in return.

How I get value:
Code:

For x=1 To Len(str)
        result = result & Mid(str, x, 1) & "(" & Asc(Mid(str, x, 1)) & ")"
Next

Result for the character in question:
В (-15712)

Any ideas how I can strip these out?

Thanks.

Viewing all articles
Browse latest Browse all 688

Trending Articles