Binaries characteres doesn't show on screen

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
hbrinf
Posts: 1
Joined: Thu Jun 13, 2013 1:34 pm

Binaries characteres doesn't show on screen

Post 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.
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post 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.
(2[Bb]|[^2].|.[^Bb])

That is the question.
dabb
Posts: 2
Joined: Mon Dec 30, 2013 6:51 pm

XP vs Win7-64 display differences

Post 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!
User avatar
kengrubb
Posts: 324
Joined: Thu Dec 11, 2003 5:23 pm
Location: Olympia, WA, USA

Post 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.
(2[Bb]|[^2].|.[^Bb])

That is the question.
dabb
Posts: 2
Joined: Mon Dec 30, 2013 6:51 pm

Post 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.
Post Reply