G
GaurSaab
Guest
Program language - open Edge, progress4GL
Looking for your help, while reading Chinese characters from xml file, they are getting converted to junk characters. xml file have encoding = UTF-8 Session we are loading xml have code page = “ISO8859-1”
Already tried using MEMPTR variable but no success, can anyone advice wnat can be done to resolve this
INPUT FROM value (cFileName) BINARY NO-MAP no-convert. IMPORT unformatted mPointer. INPUT CLOSE.
SET-SIZE(mPointer) = mPointerSize.
CREATE X-DOCUMENT hXML . hXML:ENCODING = "UTF-8".
CREATE X-NODEREF hRoot.
hXML:LOAD("memptr",mPointer,FALSE) NO-ERROR.
Continue reading...
Looking for your help, while reading Chinese characters from xml file, they are getting converted to junk characters. xml file have encoding = UTF-8 Session we are loading xml have code page = “ISO8859-1”
Already tried using MEMPTR variable but no success, can anyone advice wnat can be done to resolve this
INPUT FROM value (cFileName) BINARY NO-MAP no-convert. IMPORT unformatted mPointer. INPUT CLOSE.
SET-SIZE(mPointer) = mPointerSize.
CREATE X-DOCUMENT hXML . hXML:ENCODING = "UTF-8".
CREATE X-NODEREF hRoot.
hXML:LOAD("memptr",mPointer,FALSE) NO-ERROR.
Continue reading...