Escrito por

Pergunta Luis Oliveira · Mar. 21

Formato de Caracteres não Alfabéticos na Global

Iris Gravando Global com caracteres sem padrão alfabético:

^SASNETWEBORGAO(1,0) = "SECRETARIA DE ADMINISTRAÃ"_$c(135)_"Ã"_$c(131)_"O^1010^01010101"

Correto:

^SASNETWEBORGAO(1,0) = "SECRETARIA DE ADMINISTRAÇÃO^1010^01010101"

Como solucionar o problema?

Product version: IRIS 2020.1
$ZV: IRIS for Windows (x86-64) 2020.1

Comments

Julius Kavay · Mar. 21

Just a wild guess... 

set a="SECRETARIA DE ADMINISTRAÃ"_$c(135)_"Ã"_$c(131)_"O^1010^01010101"set b="SECRETARIA DE ADMINISTRAÇÃO^1010^01010101"set c=$zcvt(a,"I","UTF8")
if b=c {write"convert from UTF8" } else { write"no idea..." }
0
Luis Oliveira  Jun. 24 to Julius Kavay

Thank you very much Solved with your help

0