Kitutz / rainmeter

Automatically exported from code.google.com/p/rainmeter
0 stars 0 forks source link

No support for german umlauts (äöü) in RSS feeds #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the following RSS URL
http://www.spiegel.de/schlagzeilen/tops/index.rss

2. Compare the headlines with the actual headlines from www.spiegel.de
You will notice that the RSS feed headlines in the RSS skin will lack the
german umlauts

ä = ä
ü = ü
ö = ö
Ä = Ä
Ü = Ü
Ö = Ö
ß = ß

Other skins - the Winamp&FooBar skin for example - will display umlauts
just fine, it appears all RSS skins (those from other contributors as well)
are having trouble with those characters (and probably other special
characters in other languages)

ANSI codes (like "ü" for "ü" are also not parsed correctly.
For reference, try the following RSS URL

http://rss.focus.de/fol/XML/rss_folnews.xml

What is the expected output? What do you see instead?

For instance, "ENTFÜHRTER KAPITÄN" becomes "ENTFHRTER KAPITN" when parsed 
from 

http://www.spiegel.de/schlagzeilen/tops/index.rss

and "Entführter Kapitän" when parsed from 

http://rss.focus.de/fol/XML/rss_folnews.xml

What version of the product are you using? On what operating system?
v0.14.1 (32bit) April 09 2009 build

Original issue reported on code.google.com by mcbe...@gmail.com on 11 Apr 2009 at 10:49

GoogleCodeExporter commented 8 years ago
You have to setup "CodePage" according to the character of RSS.
If you omit a setup of CodePage, WebParser.dll will parse the page by UTF-8.

Many RSS in the world are unified by UTF-8. but there is the different one, 
too. 
http://www.spiegel.de/schlagzeilen/tops/index.rss
This character of RSS is "8859-1". so you should define "CodePage=28591"

If you want to be found the details of CodePage, the following sites will be 
helpful.
http://msdn.microsoft.com/en-us/library/dd317756%28VS.85%29.aspx

Now, although it is about another problem, there is no solution with this 
decisive.
http://rss.focus.de/fol/XML/rss_folnews.xml
You only replace each word by "Substitute".
e.g. Substitute="ü":"ü",.....etc

Original comment by kenz0.sa...@gmail.com on 12 Apr 2009 at 2:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Excellent, I did not know that.
Works fine now, thank you very much.

Original comment by mcbe...@gmail.com on 12 Apr 2009 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by brian.to...@gmail.com on 13 Apr 2009 at 5:53