Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在没有额外斜杠的情况下将日文字符存储在字符串中?
string jap ="\\x30F8";
打印 "\x30F8" 而
string jap = "\\\x30F8";
打印“\ヸ”
在十六进制转义序列中只需要一个反斜杠:
string text = "\x30F8";
您还可以使用 Unicode 转义序列:
string text = "\u30F8";