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

Remove irrelevant JavaDoc #243

Merged
merged 3 commits into from
Dec 15, 2024
Merged

Conversation

Vampire
Copy link
Contributor

@Vampire Vampire commented Sep 23, 2024

Strings are never UTF-8 encoded.
Strings are a sequence of Unicode characters.
If these Unicode characters are encoded into a sequence of bytes
or decoded from a sequence of bytes, then encodings like UTF-8 come into play.

Same for BOM, they are just not relevant when we talk about Strings or Readers,
they are only relevant if starting a stream of bytes, otherwise they are just content.

@Vampire Vampire force-pushed the remove-irrelevant-javadoc branch from 66042b5 to db885f9 Compare September 23, 2024 22:54
Strings are never UTF-8 encoded.
Strings are a sequence of Unicode characters.
If these Unicode characters are encoded into a sequence of bytes
or decoded from a sequence of bytes, then encodings like UTF-8 come into play.

Same for BOM, they are just not relevant when we talk about Strings or Readers,
they are only relevant if starting a stream of bytes, otherwise they are just content.
@Vampire Vampire force-pushed the remove-irrelevant-javadoc branch from db885f9 to 727b81e Compare September 23, 2024 22:56
@krzema12
Copy link
Owner

It makes perfect sense to me when you explain it this way, but on the other hand I recall we had some encoding-related issues/changes - @aSemy can you weigh in if the adjustments make sense to you as well (just docs, but good to have common understanding here)?

@krzema12 krzema12 merged commit d8160db into krzema12:main Dec 15, 2024
2 checks passed
@Vampire Vampire deleted the remove-irrelevant-javadoc branch December 15, 2024 22:27
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