Convert utf16 to utf8
-
What is the most appropriate method to convert utf16 to utf8? Thanks,
Charith Jayasundara
-
What is the most appropriate method to convert utf16 to utf8? Thanks,
Charith Jayasundara
-
Decode it into a string and encode it into UTF-8.
Despite everything, the person most likely to be fooling you next is yourself.
Can you please give an example or any link? Thanks!!!
Charith Jayasundara
-
Can you please give an example or any link? Thanks!!!
Charith Jayasundara
This should help you: System.Text.Encoding[^]
Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion
-
Can you please give an example or any link? Thanks!!!
Charith Jayasundara
-
Check out the
Encoding.UTF8.GetString
andEncoding.Unicode.GetBytes
methods.Despite everything, the person most likely to be fooling you next is yourself.
Actually there is no UTF16 in the Encoding class. (No Encoding.UTF16) Then what is the best way to convert it to a string? Thanks!
Charith Jayasundara
-
Actually there is no UTF16 in the Encoding class. (No Encoding.UTF16) Then what is the best way to convert it to a string? Thanks!
Charith Jayasundara
oh, Encoding.Unicode = Encoding.UTF16 :-) I got it, Thanks!
Charith Jayasundara