![]() |
|||
|
About Article
Alternative to How to remove NULL byte from String in C#
string result = input.Replace("\0", string.Empty);However, as you have already been told, using Unicode UTF16 is a bad idea. If you really need Unicode, you should use UTF8 instead.
Related Articles
|
||||||||||||||