An error occurred translating the query string to UTF-16: No mapping for the Unicode |
The whole code has more problems except the encoding.
1. You use encryption for passwords. Use hashing. 2. Your encryption algorithm is non-standard, super-weak, and it does not have separate secret data (a key) to be applied. By publishing its code here the encryption is already compromised. 3. To the concrete problem: You may encode the problematic strings using base64 before storing within the password field, on reading apply base64 decoding. This is not a solution, better try to refactor the whole password related code. |
Messages In This Thread |
An error occurred translating the query string to UTF-16: No mapping for the Unicode - by projack89 - 02-08-2015, 07:01 AM
RE: An error occurred translating the query string to UTF-16: No mapping for the Unicode - by ivantcholakov - 02-08-2015, 08:03 AM
RE: An error occurred translating the query string to UTF-16: No mapping for the Unicode - by projack89 - 02-08-2015, 07:09 PM
RE: An error occurred translating the query string to UTF-16: No mapping for the Unicode - by ivantcholakov - 02-08-2015, 08:49 PM
RE: An error occurred translating the query string to UTF-16: No mapping for the Unicode - by Rufnex - 02-09-2015, 10:22 AM
|