Unicode String Becomes Distorted In ASP

Unicode String Becomes Distorted In ASP

Post by JJY » Fri, 10 Oct 2003 08:21:36


A component returns a unicode string which is distored in my ASP page.

The funny thing is that I have a test.vbs file which instantiates the
component, calles a method, and writes the returned string into a unicode
file. The characters are double byte characters, and I can view the file
fine in Internet Browser. The returned string is BSTR in VC++ component.

However, when I make the same call from my ASP page, the double byte
characters are gone and pretty much replaced with blank ( space ).