Initialize string ports with UTF-8 encoding
authorMichael Gran <spk121@yahoo.com>
Fri, 4 Sep 2009 14:30:13 +0000 (07:30 -0700)
committerMichael Gran <spk121@yahoo.com>
Fri, 4 Sep 2009 14:30:13 +0000 (07:30 -0700)
commit25ebc0340d30d1ceb786dbc8c3fe80c6e9ae0e87
treedae28a84b79e55cd44698b7eb2947f32d7631747
parent3d03f9395e2ca83183e846ee99d4f9e541771c20
Initialize string ports with UTF-8 encoding

String ports should be able to accept any string characters, regardless
of the current locale.  Setting it to UTF-8 achieves that.

* libguile/strports.c (scm_i_mkstrport): set port's locale to UTF-8
  (scm_mkstrport): convert input string to UTF-8
libguile/strports.c