Bug Reports
VFP runtime error
WebConnection-6.19.0 C:\WCONNECT\CLASSES\WWUTILS.PRG
*** Strip off UTF-8 BOM
IF STARTSWITH(lcRetVal,"??)
lcRetVal = STRCONV(SUBSTR(lcRetVal,4),11)
ENDIF
Something (or somebody..) must have changed a " into a ?. This is an excerpt from wwutils.prg, compare it to your own copy, and correct it if necessary:
*** Strip off UTF-8 BOM
IF STARTSWITH(lcRetVal,"?")
lcRetVal = STRCONV(SUBSTR(lcRetVal,4),11)
ENDIF
This is due to the language I suppose. The characters of the string are not readable in Korean (?)?
The code should look like this:
IF STARTSWITH(lcRetVal,"")
lcRetVal = STRCONV(SUBSTR(lcRetVal,4),11)
ENDIF
What's happening is that in Korean code page those characters are not part of the ASCII upper set so the characters are not valid - hence ??
.
You might try this:
*** Strip off UTF-8 BOM
IF STARTSWITH(lcRetVal,CHR(239) + CHR(187) + CHR(191))
lcRetVal = STRCONV(SUBSTR(lcRetVal,4),11)
ENDIF
Fixed this in wwutils.prg
.
+++ Rick ---