scm_{to,from}_locale_string use current locale, not current ports
authorAndy Wingo <wingo@pobox.com>
Thu, 17 Mar 2011 17:29:08 +0000 (18:29 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 17 Mar 2011 17:29:08 +0000 (18:29 +0100)
commit95f5e303bc7f6174255b12fd1113d69364863762
tree5df2b7bdefc7082075e7af6fe9af38ec87e66ec9
parentbb455e4f94d8e339c9b8a69e178110cf3dfa5bcb
scm_{to,from}_locale_string use current locale, not current ports

* libguile/strings.c (scm_to_locale_stringn, scm_from_locale_stringn):
  Use the encoding of the current locale, not of the current i/o ports.
  Also use the current conversion strategy.

* doc/ref/api-data.texi (Conversion to/from C): Update docs.
doc/ref/api-data.texi
libguile/strings.c