Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add byte-order mark to docs/*/*.md file #27

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Conversation

HeikoTheissen
Copy link
Contributor

@HeikoTheissen HeikoTheissen commented Jul 6, 2023

By adding a byte-order mark to the generated Markdown files, they are displayed as UTF-8 when loaded from github.io.

A browser in a Windows environment displays step 8 in section 3.1.3 of https://oasis-tcs.github.io/odata-specs/odata-data-aggregation-ext/odata-data-aggregation-ext.md (the authoritative document!) wrongly as:

8. Let $B=γ(v,p_2)$.

With the byte-order mark, it correctly displays:

8. Let $B=γ(v,p_2)$.

@ralfhandl
Copy link
Contributor

How does that affect for example Mac users?

@HeikoTheissen
Copy link
Contributor Author

How does that affect for example Mac users?

If you have a Mac, visit https://heikotheissen.github.io/markdowntest/charset.md. You should see

Heiko Theißen

although the Content-Type header does not specify a charset.

@ralfhandl
Copy link
Contributor

Works on iOS

@HeikoTheissen HeikoTheissen merged commit 10245f9 into main Jul 7, 2023
1 check passed
@HeikoTheissen HeikoTheissen deleted the byte-order-mark branch July 7, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants