search for: valid_string

Displaying 1 result from an estimated 1 matches for "valid_string".

Did you mean: valid_starting
2009 Jun 02
3
UTF-8, AES encryption, the works - help !
...ould like to store the result in the DB -> Just using an insert with the encrypted string fails, as it inserts only regular, Latin1-chars, the other characters are being discarded. I have googled and tried all options, ic = Iconv.new(''UTF-8//IGNORE'', ''UTF-8'') valid_string = ic.iconv(enc + '' '')[0..-2] raises InvalidCharacter or InvalidSequence on some strings so not viable.. Should I convert the result of AES and so on into Latin1 ?? I''m quite lost as you can see, spent too much on it already. So am I beating around the bush too much (was...