D
Diablo
Hi,
I am converting a byte array to string using
System.Text.Encoding.UTF8.GetString() or Unicode.GetString(). Then the
resulting text is converted back to binary, using the reverse function:
System.Text.Encoding.UTF8.GetBytes() or Unicode.GetBytes.
But the result does not match the original byte array!
Is the conversion loosing some characters? Why?
Thanks,
Diablo
I am converting a byte array to string using
System.Text.Encoding.UTF8.GetString() or Unicode.GetString(). Then the
resulting text is converted back to binary, using the reverse function:
System.Text.Encoding.UTF8.GetBytes() or Unicode.GetBytes.
But the result does not match the original byte array!
Is the conversion loosing some characters? Why?
Thanks,
Diablo