[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to enter unicode in F9



Dave Feustel wrote:
> In vim, entering ctl-V u xxxx works. This does not
> work for me on the xterm command line (ksh is shell).
> 
> Is there a way to enter unicode characters in xterm?

One way that will work in any shell is:

uc() { /usr/bin/printf \\u$1; };

Then, use e.g.

echo $(uc 2639)

You can export uc from your initialization file.

Matt Flaschen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]