Page 1 of 1

Binaries characteres doesn't show on screen

Posted: Thu Jun 13, 2013 2:43 pm
by hbrinf
Hi, I have this problem, when I'm using Windows XP, binaries characteres appear in all versions of textpad, but when i use windows 7, it doesn't appear. Is there any OS incompatibility? if there isn't, does anybody know how to fix this problem?

The binary char is the little square or the "|" that appears when the value is "null", instead of it, appears a blank space... And I really need to know when the value is null.

Posted: Fri Jul 12, 2013 4:09 pm
by kengrubb
When you say binary characters, what do you mean?

Unicode? ASCII control characters (0 to 31)? Extended ASCII (128 to 255)?

How and if ASCII characters display is going to be a function of the font used.

XP vs Win7-64 display differences

Posted: Wed Jan 22, 2014 6:20 am
by dabb
I have the same issue. I have a file that is mostly text but each line contains several fields delimited by a binary character.

With Textpad 7.09 under Windows XP, it displays:



Image


With Textpad 7.10 under Windows 7 64-bit, it displays:

Image


This is a hex dump of the file:

Image


Any ideas on how to get the XP style display under Win7 64?

Thanks!

Posted: Wed Jan 22, 2014 10:54 pm
by kengrubb
Again, there's no such thing as binary characters. These are ASCII Control Characters as opposed to ASCII printable characters or Extended ASCII.

http://en.wikipedia.org/wiki/ASCII#ASCI ... code_chart
http://en.wikipedia.org/wiki/ASCII#ASCI ... characters
http://en.wikipedia.org/wiki/Extended_ASCII

01 is an SOH, or Start Of Header.

What displays is a function of the font you use. Terminal font is only commonly available one I know of that will display anything in the range of ASCII 01 to 1F.

Go to View, Document Properties, Font tab, and change the font used to Terminal.

Posted: Thu Jan 23, 2014 6:03 am
by dabb
Thanks, switching the font to Terminal makes the 0x01 visible under Windows 7.

Note that under XP, Courier New (apparently the default font TextPad uses) DOES display a box character for the \x01 character as shown in my first image. However, Courier New under Windows 7 does not.