Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3877

Encrypting foreign languages

$
0
0

I am trying to encrypt a Dutch text file with the following but it fails when hitting certain characters “AALST : Stad In Midden-België”, I’m guessing ‘ë’ is the character not working
Should I be using different encodings? I’m using the MBS code from AESMBS example

When I look at the text file in texted the text looks as above but when I import it into my edit field before encrypting the ë is replaced with a question mark. Dutch seems to be the only issue of the 6 languages I am encrypting

d = DefineEncoding(s,Encodings.ASCII)
tout.writeline encryptAES(d, keycode)

16 posts - 7 participants

Read full topic


Viewing all articles
Browse latest Browse all 3877

Trending Articles