search for: invalidcharact

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

Did you mean: invalidcharacter
2009 Jun 02
3
UTF-8, AES encryption, the works - help !
...ith 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 (wasted a lot of time on this already), or should I search for a non-Unico...