Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more: (untagged)
hello, I've embedded some secret on my page:
<br />HASH_…àEŠ€^×ÓdÔWcuRºû„QP¢„Up<br />

On post back, it became:
<br />\0H\0A\0S\0H\0_\0…àEŠ€^×ÓdÔWcuRºû„QP¢„Up<br />

The difference between the two is "\0" character. What is it?

Thanks

Posted

1 solution

devvvy wrote:
\0H\0A\0S\0H\0_\0


You're probably finding that a unicode string is being converted to bytes, each character has two bytes, and for ASCII characters, the first is a zero.

 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900