RosettaCodeData/Task/Literals-String/D/literals-string-2.d
2023-07-01 13:44:08 -04:00

4 lines
127 B
D

auto str = "hello"; // UTF-8
auto str2 = "hello"c; // UTF-8
auto str3 = "hello"w; // UTF-16
auto str4 = "hello"d; // UTF-32