Use Ascii character 255 in Wincmd.ini

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Galizza
Member
Member
Posts: 199
Joined: 2018-09-07, 05:21 UTC

Use Ascii character 255 in Wincmd.ini

Post by *Galizza »

  
Hi, i want to know if it is possible to use Ascii character 255 to replace space
in Wincmd.ini

I will use it only in custom columns Captions & Field contents names to improve alignment.

I don't know if this character number may change with different codepages,
but using Autohotkey i get this character using this line

Code: Select all

SendInput {Asc 255}
or using keyboard with Alt+255


Thank you vey much :!:


Tc 11.00 x86 // Windows 10 22H2 Spanish
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: Use Ascii character 255 in Wincmd.ini

Post by *Gral »

Non-breaking space - Alt+0160 - doesn't work for you? - they work the same way in most cases.
User avatar
Galizza
Member
Member
Posts: 199
Joined: 2018-09-07, 05:21 UTC

Re: Use Ascii character 255 in Wincmd.ini

Post by *Galizza »

Gral wrote: 2023-08-08, 11:57 UTC Non-breaking space - Alt+0160 - doesn't work for you? - they work the same way in most cases.
 
Yes, it works perfectly.

Btw, what it is the difference then between using Alt+255 & Alt+1060 ?

Thanks again.
 
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: Use Ascii character 255 in Wincmd.ini

Post by *Gral »

Test, what you really get while type Alt+255?
Type to empty text file, save, and open with hex editor.
When i type Alt+0160 and Alt+255 i get the same result - 0xA0
If this is your case too you can (probably) use Alt+255

P.S. As it says on this page https://en.wikipedia.org/wiki/Non-breaking_space Alt+255 "does not always work"
User avatar
Galizza
Member
Member
Posts: 199
Joined: 2018-09-07, 05:21 UTC

Re: Use Ascii character 255 in Wincmd.ini

Post by *Galizza »

Gral wrote: 2023-08-08, 12:30 UTC Test, what you really get while type Alt+255?
Type to empty text file, save, and open with hex editor.
When i type Alt+0160 and Alt+255 i get the same result - 0xA0
 
Hi, my PsPad hex editor shows both Alt+255 & Alt+0160 as 0xA0, but as you said
seems better to use Alt+0160.

Thanks :!: :!:
 
Post Reply