Skip to content

Conversation

@marychatte
Copy link
Contributor

@marychatte marychatte requested a review from e5l December 4, 2024 14:14

/**
* Writes [text] characters in range \[[fromIndex] .. [toIndex]) with the specified [charset]
* Writes [text] characters in range [fromIndex] .. [toIndex]) with the specified [charset]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check the KDoc and mention explicitly included and excluded part of the ranges?

charset: Charset = Charsets.UTF_8
) {
if (charset === Charsets.UTF_8) {
return writeString(text.toString(), fromIndex, toIndex)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you tell me why whiteStrings corrupts non ASCII? Should we log this to the kotlinx-io instead?

@marychatte
Copy link
Contributor Author

I rechecked the problem, it wasn't on the Ktor side, and this anomaly doesn't appear anymore

@marychatte marychatte closed this Jul 30, 2025
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.

3 participants