[MacPorts] #53614: MacPorts nano will not display Unicode characters

MacPorts noreply at macports.org
Mon Feb 20 18:03:47 UTC 2017


#53614: MacPorts nano will not display Unicode characters
---------------------+------------------
 Reporter:  miken32  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:  utf8     |       Port:  nano
---------------------+------------------
 I have a test file containing some Korean Unicode characters, which are
 not displayed correctly in MacPorts' version of nano.

 In vi, emacs, TextMate, the OS version of nano (2.0.6), or even when I
 just cat the file, the characters display correctly:


 {{{
 Hey
 *아이템 5000 ec101 db120 da120 dg120
 café
 Bo
 }}}


 However, in MacPorts nano (2.7.4), it appears like this:


 {{{
 Hey
 * u^d }  e^| 5000 ec101 db120 da120 dg120
 café
 Bo

 }}}

 Here are version strings from both nanos:


 {{{
 mike ~ > /usr/bin/nano --version
  GNU nano version 2.0.6 (compiled 16:13:50, Jul 30 2016)
  Email: nano at nano-editor.org    Web: http://www.nano-editor.org/
  Compiled options: --disable-nls --enable-color --enable-extra --enable-
 multibuffer --enable-nanorc --enable-utf8

 mike ~ > nano --version
  GNU nano, version 2.7.4
  (C) 1999..2016 Free Software Foundation, Inc.
  (C) 2014..2016 the contributors to nano
  Email: nano at nano-editor.org    Web: https://nano-editor.org/
  Compiled options: --disable-wrapping-as-root --enable-utf8

 }}}

 And if it's helpful, here is output from cat -v:


 {{{
 Hey
 *?M-^UM-^D?M-^]??M-^EM-^\ 5000 ec101 db120 da120 dg120
 café
 Bo
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53614>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list