B
bmth
Hi all
I am trying to contvert a message from my server to unicode. I
initially got a base64 endoced byte[] message. After some debugging I
saw the base64 string had "\0" in the end wich resulted in an error
when converting from base64. So I cut it away and can now see my
string in byte[]. I tried calling Encoding.Unicode.GetString() and
sent my byte[] as param. The string I get contains only boxes. My
byte array seems ok, so I was wondering if the GetString method
expects some end token ?
Any suggestions ?
bixx
I am trying to contvert a message from my server to unicode. I
initially got a base64 endoced byte[] message. After some debugging I
saw the base64 string had "\0" in the end wich resulted in an error
when converting from base64. So I cut it away and can now see my
string in byte[]. I tried calling Encoding.Unicode.GetString() and
sent my byte[] as param. The string I get contains only boxes. My
byte array seems ok, so I was wondering if the GetString method
expects some end token ?
Any suggestions ?
bixx