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

[17.3] UTF-8 string literals #29269

Closed
Tracked by #30071
BillWagner opened this issue May 3, 2022 · 2 comments · Fixed by #30714
Closed
Tracked by #30071

[17.3] UTF-8 string literals #29269

BillWagner opened this issue May 3, 2022 · 2 comments · Fixed by #30714
Assignees
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution]

Comments

@BillWagner
Copy link
Member

Add syntax to create utf-8 string literals in C# code and have them automatically encoded in their byte[] format. Changes will be required in the language reference, and some string tutorials.

Feature specification

@BillWagner BillWagner created this issue from a note in C# 11 documentation plan (To do) May 3, 2022
@PRMerger17 PRMerger17 added the Pri3 label May 3, 2022
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label May 3, 2022
@BillWagner BillWagner self-assigned this May 4, 2022
@BillWagner BillWagner added this to To do in May 2022 via automation May 4, 2022
@BillWagner BillWagner added doc-idea Indicates issues that are suggestions for new topics [org][type][category] 🏁 Release: .NET 7 Work items for the .NET 7 release Pri1 High priority, do before Pri2 and Pri3 and removed ⌚ Not Triaged Not triaged Pri3 labels May 4, 2022
@BillWagner BillWagner moved this from To do to In progress in C# 11 documentation plan May 6, 2022
@BillWagner BillWagner moved this from To do to In progress in May 2022 May 6, 2022
@BillWagner BillWagner moved this from In progress to To do in C# 11 documentation plan May 9, 2022
@BillWagner BillWagner moved this from In progress to To do in May 2022 May 16, 2022
@BillWagner BillWagner moved this from To do to In progress in C# 11 documentation plan May 23, 2022
@BillWagner BillWagner moved this from To do to In progress in May 2022 May 23, 2022
@BillWagner
Copy link
Member Author

Pulling this back to the TODO column until dotnet/csharplang#6154 is merged and implemented.

@BillWagner BillWagner moved this from In progress to To do in C# 11 documentation plan May 24, 2022
@BillWagner BillWagner moved this from In progress to To do in May 2022 May 24, 2022
@BillWagner BillWagner added this to To do in June 2022 via automation Jun 1, 2022
@BillWagner BillWagner removed this from To do in May 2022 Jun 1, 2022
@BillWagner BillWagner added this to To do in July 2022 via automation Jul 1, 2022
@BillWagner BillWagner removed this from To do in June 2022 Jul 1, 2022
@Youssef1313
Copy link
Member

The article documenting this feature should have Utf8StringLiteral_CSharpKeyword per https://github.com/dotnet/roslyn/blob/e2c555e116bb7cb950f82c25430f6aa466c8a33d/src/VisualStudio/CSharp/Test/F1Help/F1HelpTests.cs#L977-L989

@BillWagner BillWagner removed this from To do in July 2022 Aug 1, 2022
@dotnet-bot dotnet-bot added the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Aug 1, 2022
@BillWagner BillWagner reopened this Aug 1, 2022
@BillWagner BillWagner removed the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Aug 15, 2022
@ghost ghost added the in-pr This issue will be closed (fixed) by an active pull request. label Aug 16, 2022
@dotnet-bot dotnet-bot added the resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution] label Aug 16, 2022
@ghost ghost removed the in-pr This issue will be closed (fixed) by an active pull request. label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏁 Release: .NET 7 Work items for the .NET 7 release doc-idea Indicates issues that are suggestions for new topics [org][type][category] Pri1 High priority, do before Pri2 and Pri3 resolved-by-customer Indicates issues where the customer no longer needs any help. [org][resolution]
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants