You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting @mrgodhani — and @HenryQW. I'll be honest: I don't have a ton of experience with encoding in these scenarios. This is where the encoding currently takes place:
Activity
mrgodhani commentedon Feb 8, 2019
More reference https://github.com/mrgodhani/raven-reader/issues/269
HenryQW commentedon Feb 11, 2019
The same applies to Chinese and other Asian languages, you get a bunch of unicodes rather than the actual content. See #264
adampash commentedon Feb 11, 2019
Thanks for reporting @mrgodhani — and @HenryQW. I'll be honest: I don't have a ton of experience with encoding in these scenarios. This is where the encoding currently takes place:
https://github.com/postlight/mercury-parser/blob/e033835c7287904371371f922c487e6d0d7d7db8/src/resource/index.js#L63-L79
Does anything stand out to you as doing it wrong? Or any other suggestions? We're more than happy to accept help.
vjyanand commentedon Feb 12, 2019
My findings #267
var ENCODING_RE = /charset=([\w-]+)\b/i;if (metaContentType && properEncoding !== encoding) {Thanks
mrgodhani commentedon Feb 12, 2019
@adampash I tested @vjyanand's fix and that's working well.
toufic-m commentedon Mar 4, 2019
This fix has been merged, and will be included in the next release.
mindfulme commentedon Aug 2, 2020
Did you get it released? I have the following when parsing Russian language articles
