summaryrefslogtreecommitdiff
path: root/libguile/chars.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-10-25 17:45:29 +0200
committerAndy Wingo <wingo@pobox.com>2011-10-25 17:45:29 +0200
commit25d50a051d8de9c438d6ed910bec13be682b3b12 (patch)
tree442f495241a9da699421562f190c6b37617bfcc5 /libguile/chars.c
parentf80d15c59e962d197c0cb8e98fd84bdd27bc449e (diff)
downloadguile-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/chars.c')
-rw-r--r--libguile/chars.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/chars.c b/libguile/chars.c
index 2e1610566..fbedb0fe2 100644
--- a/libguile/chars.c
+++ b/libguile/chars.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995,1996,1998, 2000, 2001, 2004, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1998, 2000, 2001, 2004, 2006, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -492,7 +492,7 @@ SCM_DEFINE (scm_char_general_category, "char-general-category", 1, 0, 0,
sym = uc_general_category_name (cat);
if (sym != NULL)
- return scm_from_locale_symbol (sym);
+ return scm_from_utf8_symbol (sym);
return SCM_BOOL_F;
}
#undef FUNC_NAME