Jump to content
Sign in to follow this  
Innovative

_StringEncrypt is returning ""

Recommended Posts

$buffer = StringToBinary("Hello - ä½ å¥½", 4)

$output = "StringToBinary Returned: " & $buffer & @CRLF

MsgBox(4096, "String() representation" , $buffer)

$buffer = BinaryToString($buffer, 4)

$output &= "BinaryToString Returned:" & $buffer & @CRLF

MsgBox(4096, "BinaryToString() ANSI representation" , $buffer)

ClipPut ($output)

Edited by Bert

Share this post


Link to post
Share on other sites

0x48656C6C6F202D20E79BB2E9998620E6B093E6A5BCE99986
Hello - 盲陆 氓楼陆

Dont know what the hell is that -.-

Ok. Now we're getting somewhere.

What language is your system? What is your keyboard type?

Share this post


Link to post
Share on other sites

Now what..

Mmmm... we've established it's a problem with BinaryToString parsing values like ä. But what to do now I'm not sure. Just give me a sec to find something else we can test with.

Share this post


Link to post
Share on other sites

StringToBinary("ä", 2)

StringToBinary("ä", 3)

And --------------------------------------

$text = @ProcessorArch & @CRLF

$text &= @OSBuild & @CRLF

$text &= @OSTYPE & @CRLF

$text &= @OSVersion

MsgBox (0, "", $text)

Edited by Bert

Share this post


Link to post
Share on other sites

Replying to your edit :

All those returned

<-- Thats an empty string that String2Binary returned
   <-- Thats an empty string that String2Binary returned too
X86
2600
WIN32_NT
WIN_XP

Share this post


Link to post
Share on other sites

Replying to your edit :

All those returned

<-- Thats an empty string that String2Binary returned
   <-- Thats an empty string that String2Binary returned too
X86
2600
WIN32_NT
WIN_XP
Well I'm stumped now. Maybe a dev will pop their head in later, so I'm not sure what else I can do.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...