|
-
Apr 19th, 2024, 01:53 PM
#36
Lively Member
Re: VB6 - JsonBag, Another JSON Parser/Generator
Olaf,
Thanks for chiming in on this wacky problem... The quick answer is that this worked:
 Originally Posted by Schmidt
NewDecodedResult = Replace(DecodedResult, ChrW$(&HFFFD), "?")
The slow answer is that VB6 is still wacky when I tried to analyze this... Even though the above line of code seems to work correctly, if I do a simple loop through the length of the DecodedResult, the Debug Window *does* show a "?", *but* if I simply assign this to an ADODB RecordSet object, it blows up on the line because there's a character in the string it doesn't like. After running the line above, the Recordset takes the string without issues!
Thanks!!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|