google-code-export / prssr

Automatically exported from code.google.com/p/prssr
GNU General Public License v2.0
1 stars 0 forks source link

Cached articles have bad encoding #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select option for caching articles in settings.
2. Subscribe to blog.solvek.com
3. See cached articles in cyrilic - you cannot read articles.

Expected: pages should have good encoding.
(Maybe setting <meta http-equiv="Content-Type" content="text/html;
charset=utf-8"> for cahced page will solve the problem)

What version of the product are you using? On what operating system?
Version 1.4.2
WM 6.0
Device FS LOOX N560

Original issue reported on code.google.com by adamchuk on 13 Oct 2008 at 12:43

GoogleCodeExporter commented 9 years ago
I checked this issue and I do not know what exactly is the problem. I 
subscribed to
the feed, I cached one article for offline reading. I opened it in PIE and I 
saw both
latin and cyrilic characters exactly as in the desktop browser.

pRSSreader converts all cached paged to utf-8, so you need to switch codepage 
in PIE
to use it (do not forget to reload the page after the change).

As far as I know PIE ignores the meta tags with encoding (I guess it uses the 
HTTP
headers sent by a server). At least I see this on my WM2003SE (don't know about 
the
later versions)

So, please, check the switching of codepage to UTF-8 and report back with 
further
details on this issue.

Original comment by and...@gmail.com on 19 Oct 2008 at 5:04

GoogleCodeExporter commented 9 years ago
You are right.
I switched codepage and page looks good.
But I switched default codedepage by editing registry (like described here
http://www.hpcfactor.com/support/cesd/s/0091.asp, I just modified value from 
1251 to
65001 for key HKEY_CURRENT_USER\Software\Microsoft\Internet
Explorer\International\Default_CodePage).
Did you use another approach for switching encoding? (I mean built in PIE)
BTW I tried to add metatag with encoding and this took no effect.

Original comment by adamchuk on 20 Oct 2008 at 7:55

GoogleCodeExporter commented 9 years ago
On Wm2003, start PIE, go Tools | Options, General page, set 'Default character 
set'
to Unicode (UTF-8), Ok, Relaod the page.

Ok, so the PIE in WM6.0 still ignoring meta tags...

Marking this as Invalid based on the comments.

Original comment by and...@gmail.com on 20 Oct 2008 at 2:04

GoogleCodeExporter commented 9 years ago
I put this info on wiki on the FAQ page.

Original comment by and...@gmail.com on 20 Oct 2008 at 2:10