Z
Zain Ul-Abidin
Guest
I need to convert a string of binary numbers to their corresponding ASCII characters.
E.g. 011000010110001001100011 should be displayed as ‘abc’.
I tried couple of functions in C# but could not get the desired result.
To get a more clear idea of what I need, please visit
www.theskull.com/javascript/ascii-binary.html
Enter in the second text box the value 011000010110001001100011
Clicking convert will display the text ‘abc’
Any ideas how to get this in a C# code?
One idea might be to take first 8 digits, convert it to it’s corresponding character and enter in an empty string. Then, select next 8 digits,convert and append to the previous string. But not much sure how to achieve this.
Continue reading...
E.g. 011000010110001001100011 should be displayed as ‘abc’.
I tried couple of functions in C# but could not get the desired result.
To get a more clear idea of what I need, please visit
www.theskull.com/javascript/ascii-binary.html
Enter in the second text box the value 011000010110001001100011
Clicking convert will display the text ‘abc’
Any ideas how to get this in a C# code?
One idea might be to take first 8 digits, convert it to it’s corresponding character and enter in an empty string. Then, select next 8 digits,convert and append to the previous string. But not much sure how to achieve this.
Continue reading...