Re: unicode entirely via buffer
maxwell <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users