ui: Don't use '%default-port-encoding' to set the encoding of string ports.
authorLudovic Courtès <ludo@gnu.org>
Wed, 8 Mar 2017 21:21:31 +0000 (22:21 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 8 Mar 2017 22:42:53 +0000 (23:42 +0100)
commit1062063a65036f32a061c54866d33ffe079ec44e
tree99353fb630fadaa654d3cdb856669b878a098a26
parent30906825cb99122f6b068a1d9223937757d75ce5
ui: Don't use '%default-port-encoding' to set the encoding of string ports.

* guix/ui.scm (right-arrow): Call 'set-port-encoding!' to set PORT's
encoding; remove use of 'with-fluids'.  This is for compatibility with
Guile 2.2 where the encoding of string ports is not influenced by
%DEFAULT-PORT-ENCODING.
* tests/ui.scm ("show-manifest-transaction"): Likewise.
guix/ui.scm
tests/ui.scm