erazer
Junior Member
Posts: 61
|
Post by erazer on May 11, 2009 9:08:22 GMT -5
English ANSI code page just does not have symbols to show word "пароль". So we always have problem with non latin letters in password.
|
|
|
Post by Kevin on May 11, 2009 10:01:48 GMT -5
I would think this would work...
temppass: String;
temppass:= InputBox('Need Password', 'NewPassword:',''); if (temppass='') or (temppass=NewPassword) then raise EUserCanceled.Create('Incorrect Password') else NewPassword:=UTFEncode(temppass);
|
|
erazer
Junior Member
Posts: 61
|
Post by erazer on May 11, 2009 10:37:48 GMT -5
It seems it work. Also I added with frmMain.Zipper do begin Password := UTF8Encode(Pass); To be sure
|
|
|
Post by Kevin on May 11, 2009 11:00:05 GMT -5
Yes, as long as you are consistent, It should work. I'm not sure what effect this has on trying to enter the same password into something like WinZip or PKZip, but they may accept those passwords too.
|
|