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

Write content for UTF-8 string literals for C# 11. #30714

Merged
merged 3 commits into from
Aug 16, 2022

Conversation

BillWagner
Copy link
Member

Fixes #29269

  • Update the article on builtin reference types to cover UTF-8 literals.
  • Add note in character encoding article to reference UTF-8 literals.
  • Add note in addition operator that addition is now supported for UTF-8 literals, as concatenating ReadOnlySpan<byte>.

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

6 similar comments
@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

@BillWagner BillWagner requested a review from IEvangelist August 16, 2022 16:34
@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

1 similar comment
@ghost
Copy link

ghost commented Aug 16, 2022

Internal preview link

Also, add a note that `u8` can't be combined with `$`
@BillWagner BillWagner merged commit 78ee8f6 into dotnet:main Aug 16, 2022
@BillWagner BillWagner deleted the utf-string-literals branch August 16, 2022 19:40
@BillWagner BillWagner added the okr-freshness OKR: Freshness of content label Sep 6, 2022
@gewarren gewarren added the 🏁 Release: .NET 7 Work items for the .NET 7 release label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[17.3] UTF-8 string literals
4 participants