summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-03-30 21:52:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-03-30 21:52:12 +0000
commit5b5698e8ad4fa0f0f5da0286ab34b5ba1fa8ecae (patch)
treeaa6752a7320ad57aae6d7eb7a1ece9a0f1497572 /modules
parent6f9c9b934021288f9b34430344790a2722dc614e (diff)
downloadpango-5b5698e8ad4fa0f0f5da0286ab34b5ba1fa8ecae.tar.gz
Use "UTF-8" with the dash as the charset name for utf-8. (Change suggested
Thu Mar 30 16:49:06 2000 Owen Taylor <otaylor@redhat.com> * modules/basic/basic.c pango/utils.c (find_converter): Use "UTF-8" with the dash as the charset name for utf-8. (Change suggested by Adrian Havill <havill@turbolinux.co.jp>) * pango/pango-layout.[ch]: Add function to get logical attributes of the text string.
Diffstat (limited to 'modules')
-rw-r--r--modules/basic/basic-x.c2
-rw-r--r--modules/basic/basic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 5e524f72..8f3c7f9e 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -299,7 +299,7 @@ find_converter (CharCache *cache, const char *id)
iconv_t cd = g_hash_table_lookup (cache->converters, id);
if (!cd)
{
- cd = iconv_open (id, "utf8");
+ cd = iconv_open (id, "UTF-8");
g_hash_table_insert (cache->converters, g_strdup(id), (gpointer)cd);
}
diff --git a/modules/basic/basic.c b/modules/basic/basic.c
index 5e524f72..8f3c7f9e 100644
--- a/modules/basic/basic.c
+++ b/modules/basic/basic.c
@@ -299,7 +299,7 @@ find_converter (CharCache *cache, const char *id)
iconv_t cd = g_hash_table_lookup (cache->converters, id);
if (!cd)
{
- cd = iconv_open (id, "utf8");
+ cd = iconv_open (id, "UTF-8");
g_hash_table_insert (cache->converters, g_strdup(id), (gpointer)cd);
}