1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Chinese characters are getting to junk characters - Progress4gL - Open edge

Discussão em 'StackOverflow' iniciado por fdantas, Fevereiro 25, 2019.

  1. fdantas

    fdantas Administrator Moderador

    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...

Compartilhe esta Página