[ jEdit-users ] unicode entirely via buffer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[ jEdit-users ] unicode entirely via buffer

e-letter
Readers,

Is it possible to configure jedit so that unicode characters can be
typed directly into a buffer?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] unicode entirely via buffer

Alan Ezust-3
Administrator
Character Map plugin shows you the characters and lets you click on them to see or enter the characters that way.
JakartaCommons plugin has actions "escape unicode" and "unescape unicode".

 

On Mon, Jul 10, 2017 at 12:00 PM, e-letter <[hidden email]> wrote:
Readers,

Is it possible to configure jedit so that unicode characters can be
typed directly into a buffer?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [ jEdit-users ] unicode entirely via buffer

maxwell
In reply to this post by e-letter
On 2017-07-10 15:00, e-letter wrote:
> Is it possible to configure jedit so that unicode characters can be
> typed directly into a buffer?

I'm not sure what you're asking.  If the buffer's encoding is set to a
Unicode encoding (presumably UTF-8), you can certainly enter Unicode
chars, including non-ASCII Unicode chars.  (ASCII is of course a subset
of UTF-8.)  I do it all the time.  You will probably want to tell jEdit
to use a font that displays the Unicode chars you need, otherwise you'll
get boxes.  If you can't find a good font that displays everything, like
say a single font that displays both ASCII and Arabic, then you can
check the "Additional fonts with font substitution" box and add your
fallback font in the "Font substitution: Preferred fonts" box.  Both
these are in the Global Options | Text Area dialog.

If you're asking how to set up a keyboard so you can literally type
(non-ASCII) Unicode chars, then that's an OS-specific thing, not
something you would probably want to do in jEdit.  In Windows, you use
the Control Panel | Region and languages applet to add additional
keyboards (or choose a non-default keyboard as your only keyboard).  In
principle, you could instead use jEdit's Global Options | Shortcuts
dialog to translate keystrokes into some other characters (make the 'a'
key output an Arabic alif character to the jEdit buffer), but that would
be a rather painful way to do what your OS already does, I would think.

And as Alan wrote, you can use jEdit's Character Map plugin to enter
characters.  But that can be painful if you have lots of non-standard
characters to enter.

    Mike Maxwell

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
-----------------------------------------------
jEdit Users' List
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jedit-users
Loading...