At first, sory about my english...
i'm using a gnometer feed, for one local page, but it dont recognised symbols, like š, č or ž!
One exsample: It shoud be: Vidič not Vidić
Any tips??
tnx
It is currently April 26th, 2024, 2:53 am
[Solved] Problems with symbols š,č,ž
-
- Posts: 6
- Joined: November 23rd, 2010, 11:22 pm
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with symbols š,č,ž
If I am not mistaken that can be solved with this entry from the Rainmeter Manual / Plugins / WebParser:us86 wrote:At first, sory about my english...
i'm using a gnometer feed, for one local page, but it dont recognised symbols, like š, č or ž!
One exsample: It shoud be: Vidič not Vidić
Any tips??
tnx
<snip>
CodePage
Defines the codepage of the downloaded web page. For example CodePage=28605 interprets the page as Latin 9 (ISO-8859-15). If the CodePage is set to 0 no conversion is done. CodePage=65001 means UTF-8. You can check other Windows code pages from http://www.microsoft.com/globaldev/reference/wincp.mspx
-
- Posts: 6
- Joined: November 23rd, 2010, 11:22 pm
Re: Problems with symbols š,č,ž
That wos fast...
I found the right postcode. its 1250 (central Europe)
But, i still dont know (understand), where put this code??
I found the right postcode. its 1250 (central Europe)
But, i still dont know (understand), where put this code??
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Problems with symbols š,č,ž
Try it at the bottom of the main WebParser measure (the one with the RegExp= statement on it)us86 wrote:That wos fast...
I found the right postcode. its 1250 (central Europe)
But, i still dont know (understand), where put this code??
-
- Developer
- Posts: 2872
- Joined: April 17th, 2009, 12:18 pm
Re: Problems with symbols š,č,ž
Also, try adding DecodeCharacterReference=1 under all Plugin=Plugins\WebParser.dll lines.
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Problems with symbols š,č,ž
I've found that saving the actually document containing the notes as UTF-8 instead of ANSI solves it for the most part. No need to add CodePage=SomeNumber.
I don't think, therefore I'm not.
-
- Posts: 6
- Joined: November 23rd, 2010, 11:22 pm
Re: Problems with symbols š,č,ž
ok, if i understand you must open WebParser.dll file ? I not shure this is possible...
Its possible someone do this for me, and send me this document. I tried several things, no sucess!! Using feeds is pointless with this problem.
tnx
Its possible someone do this for me, and send me this document. I tried several things, no sucess!! Using feeds is pointless with this problem.
tnx
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Problems with symbols š,č,ž
No. You should NOT open the .dll file.
Open the document where your notes are. Save that document as UTF-8 instead of ANSI (Click 'Save As...').
If you try the Codepage solution you open the skin that display your notes, you den look for the section that is retrieving your notes and add Codepage=1250 to that section.
You save and refresh the skin. Hopefully you will see your signs.
Open the document where your notes are. Save that document as UTF-8 instead of ANSI (Click 'Save As...').
If you try the Codepage solution you open the skin that display your notes, you den look for the section that is retrieving your notes and add Codepage=1250 to that section.
You save and refresh the skin. Hopefully you will see your signs.
I don't think, therefore I'm not.
-
- Posts: 6
- Joined: November 23rd, 2010, 11:22 pm
Re: Problems with symbols š,č,ž
I noticed that my gmail skin dosn't have this problems. š,č,ž are working fine. Only difference beetwen gmail skin notes and feeeds skin notes is codepage=0. I tried replace codepage=0 with codepage=1250, but š,č,ž didnt working anymore.
But it doesnt work with my feeds! I try replace utf8 with ansi, codepage=0, and DecodeCharacterReference=1, but nothing works!
But it doesnt work with my feeds! I try replace utf8 with ansi, codepage=0, and DecodeCharacterReference=1, but nothing works!
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: Problems with symbols š,č,ž
Code: Select all
[PNotes]
Measure=Plugin
Plugin=WebParser.dll
UpdateRate=10
Url=file://#Notes#
RegExp="(?siU)<title>(.*)</title>.*<notes>(.*)</notes>"
The reason why your gmail skin works without problem might be because google made it in UTF-8 support. Seeing as how they are global, it's a pretty smart move.
I don't think, therefore I'm not.