Bug? in use of EditUnicodChar command

General questions about using TextPad

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

Post Reply
User avatar
Mike Olds
Posts: 226
Joined: Wed Sep 30, 2009 3:27 pm
Contact:

Bug? in use of EditUnicodChar command

Post by Mike Olds »

Greetings,

The EditUnicodeChar command does not work in the Search and Replace tool. It gives the code only.

Windows 7 64bit; TP 8.1.2
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
User avatar
AmigoJack
Posts: 596
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post by AmigoJack »

I neither know a "EditUnicodeChar command" nor a "Search and Replace tool". Can you elaborate on how to get there? The "Replace" dialog is the only thing that comes to my mind, but its title is different and it also has no "commands".
User avatar
Mike Olds
Posts: 226
Joined: Wed Sep 30, 2009 3:27 pm
Contact:

Post by Mike Olds »

Hello Amigo,

Sorry about the imprecision of my terminology:

Search and Replace = Search > Replace
Configure > Preferences > Keyboard > Categories Edit: EditUnicodeChar
to set up the shortcut key
Also:
Help > Help Topics > Contents >How To > Edit Text > Type Multilingual Characters

Thanks to Ben Josephs for pointing this out to me. The Help topic needs clarification. I think my original suggestion that this topic needs a comprehensive HOW TO still applies.

There is also the problem that use of the 'Alt+' way of entering code points is not enabled on many Windows computers. Needs the regedit you mentioned elsewhere.

While I am at it: is there any way that anyone knows of that I can open and save as utf-8 for 7,000 files without going nutz?

mo
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
User avatar
AmigoJack
Posts: 596
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Post by AmigoJack »

Ah, now I understand. If the shortcut key is still ALT+X then you trigger the radiobutton "Hex" because it has the access key "x". If you haven't enabled displaying them check your Control Panel (it's not the highlighted option, it's the one about "Underline keyboard shortcuts and access keys"):
Image

While reassigning a more distinct shortcut key, like CTRL+ALT+X, would in theory solve this problem TextPad's feature only works in the editor itself, not in any controls by Windows - which means you'd have to use it in the editor, cut it to the clipboard, then call the "Replace" dialog, paste your clipboard content there.

Mike Olds wrote:open and save as utf-8 for 7,000
Not with Textpad, as it neither has a command line switch for achieving this, nor does it have menu items for only converting the encoding. You could use Windows PowerShell for this to modify all files within a folder and below (with proper testing before, of course).
User avatar
Mike Olds
Posts: 226
Joined: Wed Sep 30, 2009 3:27 pm
Contact:

Post by Mike Olds »

g amigo,

Thank you for your reply and solutions. I changed the shortcut to ALT+U so the shortcut was not the problem. I have been implementing the cut and paste solution.

Thanks also for pointing to the Windows Power Shell.
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
Post Reply