Skip to content

fix: Use UTF8Decoder with allowed malformed not crash on non utf8 encodings. - #4468

Merged
SandPod merged 1 commit into
serverpod:mainfrom
SandPod:use-system-encoding
Dec 17, 2025
Merged

SandPod merged 1 commit into
serverpod:mainfrom
SandPod:use-system-encoding

Conversation

@SandPod

@SandPod SandPod commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor

Prevents crashing if unknown encoding is outputted when building Flutter app.

Related to: #4466

Pre-launch Checklist

  • I read the Contribute page and followed the process outlined there for submitting PRs.
  • This update contains only one single feature or bug fix and nothing else. (If you are submitting multiple fixes, please make multiple PRs.)
  • I read and followed the Dart Style Guide and formatted the code with dart format.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.
  • I added new tests to check the change I am making.
  • All existing and new tests are passing.
  • Any breaking changes are documented below.

If you need help, consider asking for advice on the discussion board.

Breaking changes

If you have done any breaking changes, make sure to outline them here, so that they can be included in the notes for the next release.

@SandPod
SandPod force-pushed the use-system-encoding branch from becf782 to bde06a8 Compare December 17, 2025 13:56
@SandPod
SandPod force-pushed the use-system-encoding branch from bde06a8 to 11ea9e7 Compare December 17, 2025 14:44
@SandPod SandPod changed the title fix: Use system encoding to accept non utf8 encodings fix: Use UTF8Decoder with allowed malformed not crash on non utf8 encodings. Dec 17, 2025
@SandPod
SandPod marked this pull request as ready for review December 17, 2025 15:08
@SandPod
SandPod requested a review from a team December 17, 2025 15:08
@SandPod

SandPod commented Dec 17, 2025

Copy link
Copy Markdown
Contributor Author

Ignore flaky tests: #4467

@SandPod
SandPod merged commit 49fc35a into serverpod:main Dec 17, 2025
@SandPod
SandPod deleted the use-system-encoding branch December 17, 2025 16:39
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants