Return String is Different
I have a component with a method that returns a Unicode string. Basically, the component returns BSTR.
I call the method in a VBScript file (test.vbs) and save the returned string using the FileSyetemObject.OpenTextFile() with -1 for unicode. I open the file in notepad, the unicode characters are preserved and show as little squares. I can view the file which contains double characters fine in Internet Browser.
If I do the same thing in a ASP page, most of the double byte characters are gone and replaced with spaces.
Does anyone have a clue?
|