You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be fair the tool's title is "Text to ASCII binary", but the description "Convert text to its ASCII binary representation" implies "ASCII" applies to the binary output (i.e. "0" and "1" are both ASCII chars), not the text input.
What happened?
Example: Converting 文
Expected
Either one of these:
Preferred:
Tool gives UTF-8 representation of 文, padded to 8-bit bytes (11100110 10010110 10000111)
Converting back from 11100110 10010110 10000111 gives 文
Alternative:
Tool simply rejects non-ASCII input
Tool additionally rejects binary -> text input if any of its bytes aren't ASCII (currently, it just converts them as if they're code points)
Actual
Converting text -> binary gives 110010110000111 (i.e. 25991, which is 文's code point, represented as a non-padded 15-bit binary string)
Converting 110010110000111 back from binary -> text gives error "Binary should be a valid ASCII binary string with multiples of 8 bits".
Converting 11100110 10010110 10000111 (the correct UTF-8 representation of 文) from binary -> text gives æ��
System information
Win 11, Chrome Version 124.0.6367.158 (Official Build) (64-bit)
Where did you encounter the bug?
Public app (it-tools.tech)
The text was updated successfully, but these errors were encountered:
Describe the bug
Using https://it-tools.tech/text-to-binary, supplying non-ASCII text gives invalid results.
To be fair the tool's title is "Text to ASCII binary", but the description "Convert text to its ASCII binary representation" implies "ASCII" applies to the binary output (i.e.
"0"
and"1"
are both ASCII chars), not the text input.What happened?
Example: Converting
文
Expected
Either one of these:
文
, padded to 8-bit bytes (11100110 10010110 10000111
)11100110 10010110 10000111
gives文
Actual
110010110000111
(i.e. 25991, which is文
's code point, represented as a non-padded 15-bit binary string)110010110000111
back from binary -> text gives error "Binary should be a valid ASCII binary string with multiples of 8 bits".11100110 10010110 10000111
(the correct UTF-8 representation of文
) from binary -> text gives�
System information
Win 11, Chrome Version 124.0.6367.158 (Official Build) (64-bit)
Where did you encounter the bug?
Public app (it-tools.tech)
The text was updated successfully, but these errors were encountered: