Fix several POSIX functions to use the locale encoding
authorMark H Weaver <mhw@netris.org>
Thu, 16 Jun 2011 19:07:30 +0000 (15:07 -0400)
committerMark H Weaver <mhw@netris.org>
Thu, 16 Jun 2011 19:07:30 +0000 (15:07 -0400)
commit7505c6e024369f2ef381512cbc4a790cc6503428
tree3d148d118ffdf3fbe5fa6f63087a8d056377d005
parent32f94bf258bd032fa6f96fc76e4153086bc001f5
Fix several POSIX functions to use the locale encoding

* libguile/strings.c (scm_i_allocate_string_pointers): Encode strings
  using the current locale.  Previously, Latin-1 was used.  Indirectly,
  this affects the encoding of strings in `system*', `execl', `execlp',
  `execle', `environ', and `dynamic-args-call'.

  (scm_makfromstrs): In header comment, clarify that the C strings are
  interpreted according to the current locale encoding.

* NEWS: Add NEWS entry.
NEWS
libguile/strings.c