Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/core/compatibility/9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If you're migrating an app to .NET 9, the breaking changes listed here might aff
| [API obsoletions with custom diagnostic IDs](core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md) | Source incompatible | (Multiple) |
| [Ambiguous overload resolution affecting StringValues implicit operators](core-libraries/9.0/ambiguous-overload.md) | Source incompatible | GA |
| [BigInteger maximum length](core-libraries/9.0/biginteger-limit.md) | Behavioral change | Preview 6 |
| [BinaryReader.GetString() returns "\uFFFD" on malformed sequences](core-libraries/9.0/binaryreader.md) | Behavioral change | Preview 7 |
| [BinaryReader.ReadString() returns "\uFFFD" on malformed sequences](core-libraries/9.0/binaryreader.md) | Behavioral change | Preview 7 |
| [C# overload resolution prefers `params` span-type overloads](core-libraries/9.0/params-overloads.md) | Source incompatible | |
| [Creating type of array of System.Void not allowed](core-libraries/9.0/type-instance.md) | Behavioral change | Preview 1 |
| [Default `Equals()` and `GetHashCode()` throw for types marked with `InlineArrayAttribute`](core-libraries/9.0/inlinearrayattribute.md) | Behavioral change | Preview 6 |
Expand Down
6 changes: 3 additions & 3 deletions docs/core/compatibility/core-libraries/9.0/binaryreader.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: "Breaking change:BinaryReader.GetString() returns '\uFFFD' on malformed sequences"
description: Learn about the .NET 9 breaking change in core .NET libraries where BinaryReader.GetString() returns "\uFFFD" on malformed encoded string sequences.
title: "Breaking change: BinaryReader.ReadString() returns '\uFFFD' on malformed sequences"
description: Learn about the .NET 9 breaking change in core .NET libraries where BinaryReader.ReadString() returns "\uFFFD" on malformed encoded string sequences.
ms.date: 10/03/2024
---
# BinaryReader.GetString() returns "\uFFFD" on malformed sequences
# BinaryReader.ReadString() returns "\uFFFD" on malformed sequences

A a minor breaking change was introduced that only affects malformed encoded payloads.

Expand Down
2 changes: 1 addition & 1 deletion docs/core/compatibility/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ items:
href: core-libraries/9.0/obsolete-apis-with-custom-diagnostics.md
- name: BigInteger maximum length
href: core-libraries/9.0/biginteger-limit.md
- name: BinaryReader.GetString() returns "/uFFFD" on malformed sequences
- name: BinaryReader.ReadString() returns "/uFFFD" on malformed sequences
href: core-libraries/9.0/binaryreader.md
- name: C# overload resolution prefers `params` span-type overloads
href: core-libraries/9.0/params-overloads.md
Expand Down