View Single Post
Old 12-29-2013, 07:06 PM   #2309
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by davidfor View Post
I can see the problem. Adding "website_encodings: utf8, Windows-1252" to the personal.ini fixes it. The page info in Firefox tells me it is "UTF-8"

Looking at the code, it has:

Code:
self.decode = ["Windows-1252",
                       "utf8"]
From a quick look, most of the adapters have them in the same order. The base adapter is the other way around. As the page reports UTF-8, either the order in the adapter should be changed, or it should be removed as there is no real need to override the parent class.
It's saddeningly common for sites to report one encoding while using the other more commonly. Or to use both on different stories.

I don't read storiesonline.net. If someone who does tells me that utf8 is correct more often than Windows-1252, I'm willing to change it.

Quote:
Originally Posted by davidfor View Post
But, there is another error. The summary/comments has "A Story in the Bec - Lost in the Maze Universe" rather than the story description. That should be the series. And it is also missing the author notes and disclaimer that is on the index page of the story. I'll have a look to fix this, but it might not be until I get back home in a week or so. At the moment, I don't have a full time connection.
I don't have the energy to look at this right now either. Maybe tomorrow.
JimmXinu is offline