Skip to content

Use TranscodingStream for converting to UTF-8#342

Draft
erwinkramer wants to merge 1 commit intocloudevents:mainfrom
erwinkramer:feature/transcodingstream
Draft

Use TranscodingStream for converting to UTF-8#342
erwinkramer wants to merge 1 commit intocloudevents:mainfrom
erwinkramer:feature/transcodingstream

Conversation

@erwinkramer
Copy link
Copy Markdown
Contributor

This leverages CreateTranscodingStream to change the encoding to UTF-8 when required. This is only possible on later framework versions, so should be decided if we really want this.

Signed-off-by: Erwin <erwinkramer@hotmail.com>
@jskeet
Copy link
Copy Markdown
Contributor

jskeet commented Apr 11, 2026

This feels like it's reasonable - it's entirely an implementation detail, so a simple #if would be fine IMO.

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