D
Daniel Moth
Hi
Regarding encrypting data I have found 3 implementations:
1. The msdn signature sample
2. The sample in the SAMS book
3. The sample in the Apress book
Although slightly different in their implementation they all have what I
think is a common flow:
They use Encoding.ASCII to do the conversion from bytearray to string and
vice versa. I find that does not work if the string contains characters such
as "é" (French e with accent). Instead the characters show as question marks
in a textbox after conversion. Of course, switching to Encoding.Default
solves the problem.
I cannot believe they all made the oversight so I presume I am missing
something. Can anybody point me in the right direction or confirm that using
Encoding.Default makes sense?
Cheers
Daniel
Regarding encrypting data I have found 3 implementations:
1. The msdn signature sample
2. The sample in the SAMS book
3. The sample in the Apress book
Although slightly different in their implementation they all have what I
think is a common flow:
They use Encoding.ASCII to do the conversion from bytearray to string and
vice versa. I find that does not work if the string contains characters such
as "é" (French e with accent). Instead the characters show as question marks
in a textbox after conversion. Of course, switching to Encoding.Default
solves the problem.
I cannot believe they all made the oversight so I presume I am missing
something. Can anybody point me in the right direction or confirm that using
Encoding.Default makes sense?
Cheers
Daniel