Locale characters (Æ Ø Å) in rss feed

Bug #1078709 reported by Jeppe Fugl Villumsen

This bug report was converted into a question: question #214832: Locale characters (Æ Ø Å) in rss feed.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xibo
Fix Released
Low
Dan Garner

Bug Description

I am running xibo 1.4.0 on a linux server and windows clients

Client:
Windows xp
and Windows 7

I have setup rss ticker with the following url http://www.dr.dk/Nyheder/Service/rss.htm

Here’s an example of the output:
"S�dan s� kommiss�r"

When i see the feed from browser the text is "Sådan så kommissær "

It works ok with our own feed http://www.naturgasfyn.dk/nyheder/?type=100

Any suggestions?

Related branches

information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Alex Harrington (alexharrington) wrote :

Thanks for your report.

1. The URL you give is not an RSS feed. Which feed are you using please?

2. It's very likely the encoding of the feed itself that is incorrect. We won't be able to do anything really to help in that case.

3. Please don't file bugs against the project initially. We prefer users to ask questions on Launchpad Answers first. We can then convert to a bug if an issue is found.

Thanks

Alex

Changed in xibo:
status: New → Incomplete
Revision history for this message
Jeppe Fugl Villumsen (jfu-t) wrote :

1.
Sorry wrong link

http://www.dr.dk/nyheder/service/feeds/allenyheder

2.
I works ok in a browser, but it could be the case.

3.
ok, I will do that in the future.

Best Regards,
Jeppe

Revision history for this message
Jeppe Fugl Villumsen (jfu-t) wrote :

Convert to question as "It's very likely the encoding of the feed itself that is incorrect."

Can anyone help with a test to verify this?

Best Regards,
Jeppe

Changed in xibo:
status: Incomplete → Invalid
Revision history for this message
Dan Garner (dangarner) wrote :

Refer to the attached question for more information. Basically reading the encoding from the XML might offer a solution. But need research to be sure.

Changed in xibo:
status: Invalid → Triaged
milestone: none → 1.4.2
assignee: nobody → Dan Garner (dangarner)
importance: Undecided → Wishlist
importance: Wishlist → Low
Revision history for this message
Dan Garner (dangarner) wrote :

Turns out that the client was always assuming a UTF-8 encoded stream of data, rather than using the headers returned by the RSS feed.

I have corrected this so that we will always cache the RSS file with the encoding served by the source server (this is as we intended it to originally work).

It will mean that if the server returns a content-type header that is incorrect for the document it will fail, in which case we will default to UTF-8 as before.

Changed in xibo:
status: Triaged → Fix Committed
Dan Garner (dangarner)
Changed in xibo:
status: Fix Committed → Fix Released
Revision history for this message
Jeppe Fugl Villumsen (jfu-t) wrote :

I have installed the new version 1.4.2 and i solved the encoding problem from the feed.

Thank you very much.

Best Regards,
Jeppe

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.