-2

I'm trying to get decoded String from UTF16 encoded String.

Current value of UTF16 is and original string is In other words, using C#.

\u5f00\u53d1\u8005 to 开发者 \u5f00\u53d1\u8005 ==> 开发者

How can I do this using C#?

nqt95
  • 15
  • 2
  • All that has been posted is a program description, but that doesn't tell us what _problem_ you're having. What have you tried, and what troubles did you encounter? Please [edit] your post to include a [valid question](/help/how-to-ask) that we can answer. Reminder: make sure you know what is [on-topic](/help/on-topic); asking us to write the program for you, opinions, and external links are off-topic. – gunr2171 May 27 '22 at 02:45
  • 1
    In .NET, strings *are* in UTF16, so nothing to convert. – Klaus Gütter May 27 '22 at 04:05

0 Answers0