Windows alt codes do not work in TextPad 9

General questions about using TextPad

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

Post Reply
Mr. Code Monkey
Posts: 22
Joined: Thu Jul 30, 2009 4:59 am

Windows alt codes do not work in TextPad 9

Post by Mr. Code Monkey »

I occasionally need to use windows alt codes and this worked in TextPad 8 and earlier.

For example if I hold down Alt and type 0233 on the number pad, it inserts "é".
(This works in all windows programs that support Unicode except TextPad 9.)

In the latest TextPad, a box "" appears instead. Pasting in an "é" from elsewhere displays properly so it's not a file or view thing.
If there is a setting for this, I cannot find it.

Please restore the alt-code typing functionality.
MarJohn
Posts: 26
Joined: Sun Oct 17, 2021 6:17 am

Post by MarJohn »

For me, some Alt codes work and some don't.

For example, Alt 0233 doesn't work, but pasting the character from elsewhere displays properly - as you found.

Another one that doesn't display correctly is Alt 0177 (±).

However, Alt 0176 (°) and Alt 0215 (×) both show the expected characters directly in TextPad 9.0.1, running on Windows 10.
User avatar
AmigoJack
Posts: 490
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post by AmigoJack »

I know what you're talking about: Alt code. There are at least 3 workarounds:
  1. Don't type in the TextPad's editor pane, but instead try it in one of his dialog windows, f.e. one of the textboxes in Search. Does it still work there? If yes, just cut it, leave the dialog, and paste it in the editor.
  2. Use Alt+X to enter the Unicode code point. This isn't decimal, but instead hexadecimal, so your beloved 0176 becomes B0 and 0177 becomes B1. Advantages of this: it goes way beyond CP1252, so you're able to virtually get any grapheme, and it's not bound to a codepage anymore (DOS vs. OEM vs. Windows).
  3. Use View > Clip Library > ANSI Characters, which exists for decades already, to get a list of all those. Downside: you have to doubleclick it, it's not available via keyboard only.

    Image
MarJohn
Posts: 26
Joined: Sun Oct 17, 2021 6:17 am

Post by MarJohn »

The 3 points you spelt out, of which I am already aware, are, as you said, workarounds.

In previous versions of TextPad the Alt codes worked just fine, so there is obviously a new problem in this latest version.

IMO we should be pushing for a fix, and not needing to resort to workarounds.

Hopefully the problem will be rectified in the next version.
Mr. Code Monkey
Posts: 22
Joined: Thu Jul 30, 2009 4:59 am

Post by Mr. Code Monkey »

MarJohn wrote:IMO we should be pushing for a fix, and not needing to resort to workarounds.
Yes, exactly! Especially since cut-and-pasting every single letter or character is an insane way to work.

The alt-x sequence apparently only functions in Microsoft Office/365 -- which we don't use -- and I guess TextPad. The alt-codes work *everywhere* in Windows, including in this browser.
They are the ones we've been using for years to enter characters at full typing speed and with no mouse needed.
User avatar
bbadmin
Site Admin
Posts: 808
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

Thanks for reporting this bug. We'll fix it in the next release.

In the meantime, here are a couple of workarounds:
  • For accented characters such as é, press Ctrl+' and then e.
  • Use the Unicode input editor. Press Alt+X, then type the hexadecimal code of the character in the edit box, followed by Enter.
For more information see "How to Type Multilingual Characters" in the help file.
Mr. Code Monkey
Posts: 22
Joined: Thu Jul 30, 2009 4:59 am

Post by Mr. Code Monkey »

Thank you for pledging to fix this.
MarJohn
Posts: 26
Joined: Sun Oct 17, 2021 6:17 am

Post by MarJohn »

Thank you for pledging to fix this.
+1
User avatar
bbadmin
Site Admin
Posts: 808
Joined: Mon Feb 17, 2003 8:54 pm
Contact:

Post by bbadmin »

I've just come across a handy tool for inputting accented characters which I'll pass on. It's part of Microsoft's PowerToys collection which you can install for free from their store or github. It's documented here:

https://learn.microsoft.com/en-gb/windows/powertoys/quick-accent
IanOfYork
Posts: 99
Joined: Sat Nov 04, 2017 11:54 am
Location: York, England

Charmap

Post by IanOfYork »

The Character Map tool is an old Windows utility that is still available.
It displays zillions of characters and let you copy them into the clipboard.

Just add the program as a DOS command in the Tools list
(do not capture output)
or
charmap can be launched directly from a command line.

On my system it is at:
C:\windows\system32\charmap.EXE
Mr. Code Monkey
Posts: 22
Joined: Thu Jul 30, 2009 4:59 am

Post by Mr. Code Monkey »

Thank you; I was not aware of that workaround.
But note that we use alt codes to input other things besides accented characters. EG ¼, £, ⟺, etc.
bbadmin wrote:I've just come across a handy tool for inputting accented characters which I'll pass on. It's part of Microsoft's PowerToys collection which you can install for free from their store or github. It's documented here:

https://learn.microsoft.com/en-gb/windows/powertoys/quick-accent
ben_josephs
Posts: 2457
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

You can also assign whatever keyboard shortcuts you like (including 2-keypress ones) to the characters in the list at
Configure | Preferences | Keyboard | Categories: Characters
For characters that aren't in that list you can create macros and assign shortcuts to them.
Post Reply