我在逐字字符串上与String.Format有问题,字符串中有转义的花括号。它正在引发一个FormatError() Exception:Message: System.FormatException : Input string was not in a correct formatString s = $@"{{ ""ver"": ""1.0"",""use
API数据字段只支持ASCII编码--但我需要支持Unicode (表情符号、外文字符等)。我希望将用户的文本输入编码为转义unicode字符串:Let's go in the .=\\}))\\}", <- converting swift format \\u{****}
with: "\\\\U$1",