Jump to content

Recommended Posts

Posted (edited)

$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
  • Replies 208
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

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?

Posted
Posted

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.
Posted (edited)

StringToBinary("ä", 2)

StringToBinary("ä", 3)

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

$text = @ProcessorArch & @CRLF

$text &= @OSBuild & @CRLF

$text &= @OSTYPE & @CRLF

$text &= @OSVersion

MsgBox (0, "", $text)

Edited by Bert
Posted

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
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...