summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-22 17:27:05 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-22 17:27:05 +0000
commit55cf0a663723f6334b94de297776756b487c2cdf (patch)
tree0ce89f99734e930c9324211811c6ecef915bebe3 /misc.c
parent2dfa498f92369018c3bbc1527df8cce5778fc6ae (diff)
downloadhalibut-55cf0a663723f6334b94de297776756b487c2cdf.zip
halibut-55cf0a663723f6334b94de297776756b487c2cdf.tar.gz
halibut-55cf0a663723f6334b94de297776756b487c2cdf.tar.bz2
halibut-55cf0a663723f6334b94de297776756b487c2cdf.tar.xz
Support the locale-supplied character set where appropriate. It's
used for converting command-line -C directives into Unicode; it's used for outputting Unicode strings to stderr in error messages; and it's used as the default character set for input files (although I'd be inclined to recommend everyone use \cfg{input-charset} in all their source files to ensure their portability). [originally from svn r4114]
Diffstat (limited to '')
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 304cb1f..647d642 100644
--- a/misc.c
+++ b/misc.c
@@ -497,7 +497,7 @@ void cmdline_cfg_add(paragraph *cfg, char *string)
while (cfg->origkeyword[len])
len += 1 + strlen(cfg->origkeyword+len);
- ustring = ufroma_dup(string, CS_FIXME);
+ ustring = ufroma_locale_dup(string);
upos = ulen;
ulen += 2 + ustrlen(ustring);