diff options
author | Andy Wingo <wingo@pobox.com> | 2011-10-25 17:45:29 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-10-25 17:45:29 +0200 |
commit | 25d50a051d8de9c438d6ed910bec13be682b3b12 (patch) | |
tree | 442f495241a9da699421562f190c6b37617bfcc5 /libguile/options.c | |
parent | f80d15c59e962d197c0cb8e98fd84bdd27bc449e (diff) | |
download | guile-25d50a051d8de9c438d6ed910bec13be682b3b12.tar.gz |
most uses of scm_from_locale_symbol become scm_from_utf8_symbol
* libguile/array-handle.c:
* libguile/chars.c:
* libguile/expand.c:
* libguile/feature.c:
* libguile/goops.c:
* libguile/gsubr.c:
* libguile/instructions.c:
* libguile/load.c:
* libguile/macros.c:
* libguile/memoize.c:
* libguile/modules.c:
* libguile/options.c:
* libguile/print.c:
* libguile/smob.c:
* libguile/snarf.h: Change most uses of scm_from_locale_symbol to
scm_from_utf8_symbol, as the symbols really are not locale-dependent.
Diffstat (limited to 'libguile/options.c')
-rw-r--r-- | libguile/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/options.c b/libguile/options.c index 286d9e109..8eecd35f1 100644 --- a/libguile/options.c +++ b/libguile/options.c @@ -133,7 +133,7 @@ get_documented_option_setting (const scm_t_option options[]) for (i = 0; options[i].name; ++i) { - SCM ls = scm_cons (scm_from_locale_string (options[i].doc), SCM_EOL); + SCM ls = scm_cons (scm_from_utf8_string (options[i].doc), SCM_EOL); switch (options[i].type) { case SCM_OPTION_BOOLEAN: @@ -278,7 +278,7 @@ scm_init_opts (SCM (*func) (SCM), scm_t_option options[]) for (i = 0; options[i].name; ++i) { - SCM name = scm_from_locale_symbol (options[i].name); + SCM name = scm_from_utf8_symbol (options[i].name); options[i].name = (char *) SCM_UNPACK (name); } func (SCM_UNDEFINED); |