Special-character-capable single-line text editor

Bob,

I use the Unicode version of wxPython, and all my controls work with all of
those characters. There's a bit of encoding and decoding that goes on
behind the scenes to make sure my data is saved properly in the database and
displayed properly when read, but I didn't have to do anything special with
wxPython controls other than to use the Unicode version. Transana even
works with Russian and Chinese characters, though the jury is still out on
whether it really works with the Korean alphabet. See
UnicodeBuild - wxPyWiki.

David

···

-----Original Message-----
From: Bob Klahn [mailto:bobklahn@comcast.net]
Sent: Friday, September 21, 2007 1:27 PM
To: wxPython users
Subject: [wxPython-users] Special-character-capable
single-line text editor

I need a single-line text editor that can deal with special
characters. I'm talking about characters not found on the standard
American keyboard. Characters with accents, tildes, umlauts,
cedillas, circumflexes, haceks, etc. The degree symbol, the division
symbol, and more. Subscripts and superscripts. The Greek alphabet.
You get the idea.

I can of course write one, and I'm assuming I'll have to do just
that, but before I start down that path, I'd like to know how others
of you have approached such a wxPython task. There are others of you
out there who have done this, yes?

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwidgets.org

Thanks for your reply, David. I didn't make myself clear enough.

I too use the Unicode version of wxPython. My basic question is, how do you all out there =enter= non-keyboard characters in a user-friendly manner? My users should not have to know character codes.

Unless you all have something better to suggest (I'm all ears!), I'm planning to write a dialog which displays, in addition to the edit line itself, all the "special characters" my application needs to handle, in logical groupings. When my user needed a special character, he/she would simply click on it.

Is there a better mousetrap?

Bob

···

At 02:35 PM 9/21/2007, David Woods wrote:

Bob,

I use the Unicode version of wxPython, and all my controls work with all of
those characters. There's a bit of encoding and decoding that goes on
behind the scenes to make sure my data is saved properly in the database and
displayed properly when read, but I didn't have to do anything special with
wxPython controls other than to use the Unicode version. Transana even
works with Russian and Chinese characters, though the jury is still out on
whether it really works with the Korean alphabet. See
UnicodeBuild - wxPyWiki.

David

> -----Original Message-----
> From: Bob Klahn [mailto:bobklahn@comcast.net]
> Sent: Friday, September 21, 2007 1:27 PM
> To: wxPython users
> Subject: [wxPython-users] Special-character-capable
> single-line text editor
>
> I need a single-line text editor that can deal with special
> characters. I'm talking about characters not found on the standard
> American keyboard. Characters with accents, tildes, umlauts,
> cedillas, circumflexes, haceks, etc. The degree symbol, the division
> symbol, and more. Subscripts and superscripts. The Greek alphabet.
> You get the idea.
>
> I can of course write one, and I'm assuming I'll have to do just
> that, but before I start down that path, I'd like to know how others
> of you have approached such a wxPython task. There are others of you
> out there who have done this, yes?
>
> Bob

Thanks for your reply, David. I didn't make myself clear enough.

I too use the Unicode version of wxPython. My basic question is, how do you all out there =enter= non-keyboard characters in a user-friendly manner? My users should not have to know character codes.

Unless you all have something better to suggest (I'm all ears!), I'm planning to write a dialog which displays, in addition to the edit line itself, all the "special characters" my application needs to handle, in logical groupings. When my user needed a special character, he/she would simply click on it.

Is there a better mousetrap?

Bob

···

At 02:35 PM 9/21/2007, David Woods wrote:

Bob,

I use the Unicode version of wxPython, and all my controls work with all of
those characters. There's a bit of encoding and decoding that goes on
behind the scenes to make sure my data is saved properly in the database and
displayed properly when read, but I didn't have to do anything special with
wxPython controls other than to use the Unicode version. Transana even
works with Russian and Chinese characters, though the jury is still out on
whether it really works with the Korean alphabet. See
UnicodeBuild - wxPyWiki.

David

> -----Original Message-----
> From: Bob Klahn [mailto:bobklahn@comcast.net]
> Sent: Friday, September 21, 2007 1:27 PM
> To: wxPython users
> Subject: [wxPython-users] Special-character-capable
> single-line text editor
>
> I need a single-line text editor that can deal with special
> characters. I'm talking about characters not found on the standard
> American keyboard. Characters with accents, tildes, umlauts,
> cedillas, circumflexes, haceks, etc. The degree symbol, the division
> symbol, and more. Subscripts and superscripts. The Greek alphabet.
> You get the idea.
>
> I can of course write one, and I'm assuming I'll have to do just
> that, but before I start down that path, I'd like to know how others
> of you have approached such a wxPython task. There are others of you
> out there who have done this, yes?
>
> Bob

Bob Klahn wrote:

Thanks for your reply, David. I didn't make myself clear enough.

I too use the Unicode version of wxPython. My basic question is, how do you all out there =enter= non-keyboard characters in a user-friendly manner? My users should not have to know character codes.

Unless you all have something better to suggest (I'm all ears!), I'm planning to write a dialog which displays, in addition to the edit line itself, all the "special characters" my application needs to handle, in logical groupings. When my user needed a special character, he/she would simply click on it.

Is there a better mousetrap?

This isn't quite what you want but there are already the various IMEs out there (Input Method Editor) that will already work with the native widgets just fine. As David mentioned if your users are non-English speakers they are probably already using something like this already, but that doesn't restrict them from being used by English speakers with a US keyboard too. For example on XP there is the On-Screen Keyboard tool in the Accessibility group. To get it to show non-US characters you just need to install the languages and keyboard layouts you need in Control Panel's Regional and Language Options. (Exactly what the XP user would do if they had a French keyboard for example.) Then run the on-screen keyboard, change the keyboard layout with the taskbar tool, and you can then 'type' those keys by clicking on the on-screen keyboard.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Bob,

Bob Klahn wrote:

Thanks for your reply, David. I didn't make myself clear enough.

I too use the Unicode version of wxPython. My basic question is, how do you all out there =enter= non-keyboard characters in a user-friendly manner? My users should not have to know character codes.

On Windows there is the on-screen keyboard, it is under Start/Accessories/Accessibility and together with having the language tool bar you can use any keyboard (i.e. I switch easily between the English and the French one).

Maybe something similar exists on Mac and Linux?
Werner

Thanks, Robin (and David). Not quite what I want, true, but worth a fresh look.

Bob

···

At 07:10 PM 9/21/2007, you wrote:

Bob Klahn wrote:

Thanks for your reply, David. I didn't make myself clear enough.
I too use the Unicode version of wxPython. My basic question is, how do you all out there =enter= non-keyboard characters in a user-friendly manner? My users should not have to know character codes.
Unless you all have something better to suggest (I'm all ears!), I'm planning to write a dialog which displays, in addition to the edit line itself, all the "special characters" my application needs to handle, in logical groupings. When my user needed a special character, he/she would simply click on it.
Is there a better mousetrap?

This isn't quite what you want but there are already the various IMEs out there (Input Method Editor) that will already work with the native widgets just fine. As David mentioned if your users are non-English speakers they are probably already using something like this already, but that doesn't restrict them from being used by English speakers with a US keyboard too. For example on XP there is the On-Screen Keyboard tool in the Accessibility group. To get it to show non-US characters you just need to install the languages and keyboard layouts you need in Control Panel's Regional and Language Options. (Exactly what the XP user would do if they had a French keyboard for example.) Then run the on-screen keyboard, change the keyboard layout with the taskbar tool, and you can then 'type' those keys by clicking on the on-screen keyboard.