Jump to content

Recommended Posts

Posted (edited)

Hi there :whistle:

I have got a problem again. ^^

I'm trying to write an encryption with autoit, but if it was ready, i noticed by testing it, that something is not really working.

I isolated this function:

Func _ChrToDec($_CTD_c)
    for $_CTD_x = 0 to 255
        If Chr($_CTD_x) = $_CTD_c then 
            ConsoleWrite("Checking .."&$_CTD_c&" is "&Chr($_CTD_x))
            return $_CTD_x
        EndIf
    Next
EndFunc

It returns the integervalue of a char.

But, if it reaches E0 (224) there goes something wrong.

Now i want to show you a part of the output of "ConsoleWrite"

CODE
Checking ..à is À

Checking ..á is Á

Checking ..è is È

Checking ..æ is Æ

looks like non case sensitivity

After that i noticed the same some times earlier.

CODE
Checking ..e is E

Checking ..s is S

Checking ..t is T

Someone who can help me here?

Nemcija.

Edited by Nemcija

[url=www.vergessene-welt.de][/url]

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...