docs icon indicating copy to clipboard operation
docs copied to clipboard

[17.3] UTF-8 string literals

Open BillWagner opened this issue 3 years ago • 2 comments

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 avatar May 03 '22 21:05 BillWagner

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

BillWagner avatar May 24 '22 16:05 BillWagner

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

Youssef1313 avatar Jul 30 '22 13:07 Youssef1313