blob: 556a3cb5dadc1676af5545f8c3aa0f576c9d6b11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- utf8lookup.orig Sun Jan 29 21:43:23 2006
+++ utf8lookup Tue Jan 31 00:11:48 2006
@@ -10,7 +10,7 @@
#
echo 0x$1 | # feed command-line argument to ascii2binary's stdin
ascii2binary -t ui | # convert text to unsigned integer
-iconv -f utf32 -t utf8 | # convert utf-32 to utf-8 encoding
+iconv -f ucs-4le -t utf-8 | # convert utf-32 to utf-8 encoding
uniname -b -c -e -g # feed to uniname, suppressing byte and character offsets,
# UTF-8 encoding, and glyph
|