[MacPorts] #41447: port request: 'unicode' (with 'paracode')
#41447: port request: 'unicode' (with 'paracode') ----------------------------+-------------------------------- Reporter: kurt.pfeifle@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ----------------------------+-------------------------------- 'unicode' is a command line utility (written in Python) to query the Unicode database. It works similar to the `textproc/ascii` package, but for unicode. To see what it can do, I provide a three small examples, which all produce the same output: * `unicode 00E1` * `unicode á` * `unicode 'latin small letter a with acute'` {{{ $> unicode 00E1 U+00E1 LATIN SMALL LETTER A WITH ACUTE UTF-8: c3 a1 UTF-16BE: 00e1 Decimal: á á (Á) Uppercase: U+00C1 Category: Ll (Letter, Lowercase) Bidi: L (Left-to-Right) Decomposition: 0061 0301 }}} Upstream sources here: http://kassiopeia.juls.savba.sk/~garabik/software/unicode/ -- Ticket URL: <https://trac.macports.org/ticket/41447> MacPorts <http://www.macports.org/> Ports system for OS X
#41447: port request: 'unicode' (with 'paracode') -----------------------------+-------------------------------- Reporter: kurt.pfeifle@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | -----------------------------+-------------------------------- Comment (by kurt.pfeifle@…): I forgot: you can also query a range of Unicode characters, using `..` to separate upper and lower boundaries. The resulting output will be a nicely formatted table: {{{ $ unicode 0450..0520 .0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F 040. Ѐ Ё Ђ Ѓ Є Ѕ І Ї Ј Љ Њ Ћ Ќ Ѝ Ў Џ 041. А Б В Г Д Е Ж З И Й К Л М Н О П 042. Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я 043. а б в г д е ж з и й к л м н о п 044. р с т у ф х ц ч ш щ ъ ы ь э ю я 045. ѐ ё ђ ѓ є ѕ і ї ј љ њ ћ ќ ѝ ў џ 046. Ѡ ѡ Ѣ ѣ Ѥ ѥ Ѧ ѧ Ѩ ѩ Ѫ ѫ Ѭ ѭ Ѯ ѯ 047. Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ Ѹ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ 048. Ҁ ҁ ҂ ҃ ҄ ҅ ҆ ҇ ҈ ҉ Ҋ ҋ Ҍ ҍ Ҏ ҏ 049. Ґ ґ Ғ ғ Ҕ ҕ Җ җ Ҙ ҙ Қ қ Ҝ ҝ Ҟ ҟ 04A. Ҡ ҡ Ң ң Ҥ ҥ Ҧ ҧ Ҩ ҩ Ҫ ҫ Ҭ ҭ Ү ү 04B. Ұ ұ Ҳ ҳ Ҵ ҵ Ҷ ҷ Ҹ ҹ Һ һ Ҽ ҽ Ҿ ҿ 04C. Ӏ Ӂ ӂ Ӄ ӄ Ӆ ӆ Ӈ ӈ Ӊ ӊ Ӌ ӌ Ӎ ӎ ӏ 04D. Ӑ ӑ Ӓ ӓ Ӕ ӕ Ӗ ӗ Ә ә Ӛ ӛ Ӝ ӝ Ӟ ӟ 04E. Ӡ ӡ Ӣ ӣ Ӥ ӥ Ӧ ӧ Ө ө Ӫ ӫ Ӭ ӭ Ӯ ӯ 04F. Ӱ ӱ Ӳ ӳ Ӵ ӵ Ӷ ӷ Ӹ ӹ Ӻ ӻ Ӽ ӽ Ӿ ӿ .0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F 050. Ԁ ԁ Ԃ ԃ Ԅ ԅ Ԇ ԇ Ԉ ԉ Ԋ ԋ Ԍ ԍ Ԏ ԏ 051. Ԑ ԑ Ԓ ԓ Ԕ ԕ Ԗ ԗ Ԙ ԙ Ԛ ԛ Ԝ ԝ Ԟ ԟ 052. Ԡ ԡ Ԣ ԣ Ԥ ԥ Ԧ ԧ Ԩ ԩ Ԫ ԫ Ԭ ԭ Ԯ ԯ 053. Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ 054. Հ Ձ Ղ Ճ Մ Յ Ն Շ Ո Չ Պ Ջ Ռ Ս Վ Տ 055. Ր Ց Ւ Փ Ք Օ Ֆ ՙ ՚ ՛ ՜ ՝ ՞ ՟ 056. ՠ ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ 057. հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ 058. ր ց ւ փ ք օ ֆ և ֈ ։ ֊ ֍ ֎ ֏ 059. ֑ ֒ ֓ ֔ ֕ ֖ ֗ ֘ ֙ ֚ ֛ ֜ ֝ ֞ ֟ 05A. ֠ ֡ ֢ ֣ ֤ ֥ ֦ ֧ ֨ ֩ ֪ ֫ ֬ ֭ ֮ ֯ 05B. ְ ֱ ֲ ֳ ִ ֵ ֶ ַ ָ ֹ ֺ ֻ ּ ֽ ־ ֿ 05C. ׀ ׁ ׂ ׃ ׄ ׅ ׆ ׇ 05D. א ב ג ד ה ו ז ח ט י ך כ ל ם מ ן 05E. נ ס ע ף פ ץ צ ק ר ש ת ׯ 05F. װ ױ ײ ׳ ״ }}} -- Ticket URL: <https://trac.macports.org/ticket/41447#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41447: port request: 'unicode' (with 'paracode') -----------------------------+-------------------------- Reporter: kurt.pfeifle@… | Owner: ryandesign@… Type: request | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | -----------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: Thanks for the suggestion. -- Ticket URL: <https://trac.macports.org/ticket/41447#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41447: port request: 'unicode' (with 'paracode') -----------------------------+-------------------------- Reporter: kurt.pfeifle@… | Owner: ryandesign@… Type: request | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | -----------------------------+-------------------------- Comment (by ryandesign@…): I've added new ports "unicode" and "paracode" in r113585. Does that work for you? -- Ticket URL: <https://trac.macports.org/ticket/41447#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41447: port request: 'unicode' (with 'paracode') -----------------------------+-------------------------- Reporter: kurt.pfeifle@… | Owner: ryandesign@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | -----------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Updated the unicode port to use python33 in r113587, which fixes the error: {{{ ValueError: unichr() arg not in range(0x10000) (narrow Python build) The codepoint is too big. Perhaps your python interpreter is not compiled with wide unicode characters. }}} -- Ticket URL: <https://trac.macports.org/ticket/41447#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41447: port request: 'unicode' (with 'paracode') -----------------------------+-------------------------- Reporter: kurt.pfeifle@… | Owner: ryandesign@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: | -----------------------------+-------------------------- Comment (by kurt.pfeifle@…): Replying to [comment:3 ryandesign@…]:
I've added new ports "unicode" and "paracode" in r113585. Does that work for you?
Oh yes, it works fine! :-) {{{ $> paracode -r -t mirror 'MacPorts is cool!' ¡looɔ sı̣ sʇɹoԀɔɐW }}} Thanks a lot for providing this new port so fast! I appreciate it very much. -- Ticket URL: <https://trac.macports.org/ticket/41447#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts