Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Convert encoding = "UTF-8 'encoding =" ISO-8859-1'. HELP!

I have a problem need to change the XML return, Who comes in the header like <? Xml version = '1 .0 'encoding =' UTF-8 '> but I need to convert to <? Xml version = '1 .0' encoding = "ISO-8859-1 '>.

How can I do this?

Att,

JH

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Hi João,

You should contact who builds the XML in order to fix the header (they´re gererating it wrong).

Is that XML stored or you´re acessing through a WebService?

View solution in original post

11 Replies
rbecher
MVP
MVP

Why? I presume that the data in your XML source is UTF-8 encoded, like the header says..

- Ralf

Astrato.io Head of R&D
Not applicable
Author

Yes, but when I'm reading in QlikView he has not read those special character.

Usually attached sample XML.

Att,

JH

rbecher
MVP
MVP

Right, it's probably the wrong encoding. Maybe you have to ask the provider.

Astrato.io Head of R&D
Clever_Anjos
Employee
Employee

Hi João,

You should contact who builds the XML in order to fix the header (they´re gererating it wrong).

Is that XML stored or you´re acessing through a WebService?

Not applicable
Author

Obrigado Clever,

já resolvi esse problema com uma função de expressão regular!

Muito Obrigado pela ajuda!

Att,

Clever_Anjos
Employee
Employee

Por favor então marque como respondida para não ficar aberta

michaelfreitas
Creator
Creator

Olá João

Gostaria de saber qual foi a função de expressão regular que você usou..seria possível compartilhar?

Obrigado

Not applicable
Author

Bom Dia Michael,

Vou procurar a aplicação e compartilho com você.

Primeira hora da tarde de respondo.

Att,

JH

michaelfreitas
Creator
Creator

Obrigado pelo rápido retorno João.

Agradecido fico no aguardo..

Vlw