Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 13:27:21 +0100
From:      Nikola =?UTF-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
To:        Yuri <yuri@rawbw.com>
Cc:        yuri@tsoft.com, Richard Tobin <richard@inf.ed.ac.uk>, freebsd-questions@freebsd.org
Subject:   Re: How to see UNICODE character number?
Message-ID:  <20071115132721.05b0dbdd@anthesphoria.net>
In-Reply-To: <1195069866.473b51aa13e39@webmail.rawbw.com>
References:  <20071114170444.0B8D9288BDF@macpro.inf.ed.ac.uk> <1195069866.473b51aa13e39@webmail.rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Nov 2007 11:51:06 -0800
Yuri <yuri@rawbw.com> wrote:

> But it's still strange that there's no GUI utility in KDE or just X
> that would do it.

There are at least two very convenient GUI ways do to this:

(1) (g)ViM: assuming that you use UTF-8 to interptet Unicode and that
    your locale is properly set (xx_XX-UTF-8), you can paste the
    character (i.e.) =E2=80=9E=E4=BE=86=E2=80=9C, point the cursor over it,=
 and then:

    * key sequence 'ga' will return '<=E4=BE=86> 20358, Hex 4f86, Octal 476=
06';
    * key sequence 'g8' will return 'e4 be 86' (actual bytes used to
      produce that letter;
    * key sequence '[Ctrl+v]u4f86' will print =E2=80=9E=E4=BE=86=E2=80=9C (=
in Insert mode).

(2) deskutils/gucharmap: GTK2 application, doesn't pull many Gnome
    dependencies, has highly professionally made database.
    'View -> Find -> =E4=BE=86 -> Character details' will provide you with =
the
    following:

	U+4F86 CJK UNIFIED IDEOGRAPH-4F86
	General Character Properties
	Unicode category: Letter, Other
=09
	Various Useful Representations
	UTF-8: 0xE4 0xBE 0x86
	UTF-16: 0x4F86

	C octal escaped UTF-8: \344\276\206
	XML decimal entity: &#20358;

	CJK Ideograph Information
	Definition in English: come, coming; return, returning
	Mandarin Pronunciation: LAI2 LAI4
	Cantonese Pronunciation: lai4 loi4 loi6
	Japanese On Pronunciation: RAI
	Japanese Kun Pronunciation: KURU
	Tang Pronunciation: *l=C9=99i l=C9=99i
	Korean Pronunciation: LAY

Greetings.
--=20
Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5=
=D1=87=D0=B8=D1=9B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071115132721.05b0dbdd>