ascii vs. unicode
Posted on 2002-04-26
But, when I save the 'Encrypted' data to the database it's not equal to it's origional value back in the asp page. Now the function that 'Encrypted' this is vbScript with the AscW & ChrW. It's like it doesn't know how to save the characters. If I use Asc & Chr, saving the values as ascii and not unicode, things works great...until I try to 'Decrypt' with a jScript function because it's works in/with unicode and I'm supplying ascii code.
Enough with the rambling...I guess my question is: How can I get a jScript function to work with ascii and not unicode?