Skip to content

Garbled characters when reading gb2312 text file. #10218

Description

@himisawww
  • KOReader version: 2023.01
  • Device: Paperwhite 2, Android

Issue

same as issue #561.

When reading txt file encoded in cp936 (gb2312), sometimes the tail of one paragraph will be garbled, as if 1 byte is lost.

Bug:
ansi_cp936_bug

Actuall file content:
ansi_cp936

The txt File:
cp936_garbled.zip

Is this a over 9-year-old bug? Please fix this....

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions