Encoding error in generated page

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
documentation

Research direction

Compare the generated page with example/sample_new_features.cpp and the GitHub-rendered source to confirm the encoding mismatch. Trace the server or generation step that copies the example into the web page, then determine whether the relevant files should be read as ISO-8859-1 or converted to UTF-8. Done means the generated page displays the sample correctly without broken characters.

Written by the indexing model from the issue text.

Description

In this page the output is broken because the source code file uses ISO-8859-1 but is assumed to be UTF-8 when copying to the web page. Github guesses the correct encoding so it displays properly

The server must be fixed to read the file in the correct encoding, or just convert all files to UTF-8. I think the latter is the best solution

image

Dominant language
C++
Stars
31
Forks
53
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from boostorg/format

All issues in boostorg/format

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.