WebSite X5Help Center

 
Zeljko B.
Zeljko B.
User

Rss feed to my app  en

Autor: Zeljko B.
Visited 1102, Followers 1, Udostępniony 0  

Hi. I have a problem reading rss xml content.

I have an application and I programmed the browser control to read the x5feed.xml.

But, with version 8 it was x5rssfeed.xml and it was shown corectly in my app. Now, in version 9, it is x5feed.xml and in the browser control Croatian characters are not shown!?

I believe it has something to do with codepage, but even if I apply the same codepage from the old version, I still cannot see Croatian letters in my app.

Any idea how to solve this issue?

P.S. I tried utf-8, Windows-1250 and ISO-8859-1 but no success.....ISO-8859-1 worked ok in v8.

Posted on the
5 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
Incomedia
Claudio D.
Incomedia

Hello Zeljko,

In Version 9 the xml feed file uses utf-8 encoding. You can see it in the first line of the xml file:

<?xml version="1.0" encoding="utf-8"?>

Please feel free to write back if you need more information.

Czytaj więcej
Posted on the from Claudio D.
Zeljko B.
Zeljko B.
User
Autor

Thanks for answer. I know that. My question is - can I change the encoding in WebsiteX5 because if I change it manually in xml file, I don't get the correct display of Croatian characters in browser control. However, in version 8, this was ok.

It seems to me that the complete text of rss is now written automatically in utf-8 into xml file. Is there a way to choose the encoding?

Thanks.

Czytaj więcej
Posted on the from Zeljko B.
Incomedia
Claudio D.
Incomedia

Hello Zeljko,

The encoding cannot be changed because all the content is encoded in utf-8 and it should not only change the first line but also all the content of the file.

We have choosen to use UTF-8 because this encoding supports better all languages and it renders the text without the need to use special code for some characters.

Probably you need to adapt the app to read utf-8 enconded feeds.

If you require any further information, please feel free to write back.

Czytaj więcej
Posted on the from Claudio D.
Zeljko B.
Zeljko B.
User
Autor

OK, I know now. I have to program the browser control....

Would it be easier for us developers if you make an option in X5 to choose the encoding?

Kind regards.

Czytaj więcej
Posted on the from Zeljko B.
Incomedia
Claudio D.
Incomedia

Hello Zeljko,

You can open an "Idea" post where you describe what you would like to see in the future releases of the program.

Many thanks!

Czytaj więcej
Posted on the from Claudio D.