Fix the recommendations for conversion of C string constants.
authorMark H Weaver <mhw@netris.org>
Sat, 6 Apr 2013 22:29:15 +0000 (18:29 -0400)
committerMark H Weaver <mhw@netris.org>
Sat, 6 Apr 2013 22:37:29 +0000 (18:37 -0400)
commita71e79c3e5a5c366bb9ec218ee537441b8e5949a
treec084897d5c1f62319d711a6bf804efaf8816f60e
parent3e5a164ac3d93a1a43c0e81842d0583fe0031b84
Fix the recommendations for conversion of C string constants.

* doc/ref/api-data.texi (Conversion to/from C, Symbol Primitives,
  Keyword Procedures): Fix the recommendations for conversion of C
  string constants.  The encoding of the source code is irrelevant in
  modern compilers.  What is relevant is the execution character set.
  Both GCC and clang use UTF-8 by default, so recommend the
  'scm_from_utf8_*' functions when the argument is a C string constant.

  Also fix the broken texinfo markup for 'scm_from_*_symbol' that
  prevented them from being listed in the index.
doc/ref/api-data.texi