Skip to content

Incorrect handling of UTF-8 encoding during preprocessing #44

Open
@refack

Description

@refack

Example:

cppreference-doc-20250209\reference\en.cppreference.com\w\cpp\header\bit.html:4 which is the page title

  • the raw dump has it correctly:
    <title>Standard library header &lt;bit> (C++20) - cppreference.com</title>
    it's just UTF-8 encoded
    Image
  • the html in the zip (also in the .tar.xz) has it twice encoded:
    html-book-20250209.zip\reference\en\cpp\header\bit.html
    <title>Standard library header &lt;bit&gt; (C++20) - cppreference.com</title>
    adding \u00C2 kruft
    Image

I'd be happy to look into it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions