I am having an issue losing the µ character during encryption/decryption. I convert the string to bytes with Encoding.UTF8.GetBytes
and write this to a stream with GZipStream.Write()
, and from there to Blob. I noticed that µ is converted to 2 bytes versus the normal characters only being a single byte (I know µ is a 2 byte char).
The stream is decrypted with GZipStream and I use CopyTo(FileStream)
to get the bytes to a new File. However, in the new .rtf, µ shows as �. Any ideas? I'm thinking there is an issue with the double byte character, but I'm not really sure.