Skip to content

Unjustified error message "Invalid byte 2 of 4-byte UTF-8 sequence" #1548

Closed

Description

@Matt-1

I've encountered this error and created a stripped-down version of the original EPUB that still exhibits the error: invalidUtf8Sequence.epub

For this file, EPUBCheck v5.1.0 reports

Validating using EPUB version 3.3 rules.
FATAL(RSC-016): invalidUtf8Sequence.epub/OEBPS/html/Chapter_6.xhtml(88,792): Fatal Error while parsing file: Invalid byte 2 of 4-byte UTF-8 sequence.
[...]

I believe this is a false positive. At least I can't find anything wrong with the HTML file.

Activity

  1. rdeltour commented on Dec 8, 2023

    @rdeltour
    Member

    Thanks for the report and the test file! I will have a look.

  2. self-assigned this
    on Dec 8, 2023
  3. added
    type: bugThe issue describes a bug
    status: needs reviewNeeds to be reviewed by a team member before further processing
    on Dec 8, 2023
  4. added
    status: in progressThe issue is being implemented by the development team
    and removed
    status: needs reviewNeeds to be reviewed by a team member before further processing
    on Dec 20, 2024
  5. added 2 commits that reference this issue on Dec 23, 2024
    aebc651
    90e87b2
  6. added
    status: has PRThe issue is being processed in a pull request
    and removed
    status: in progressThe issue is being implemented by the development team
    on Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: has PRThe issue is being processed in a pull requesttype: bugThe issue describes a bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址