From 834b3ab93844fcc3fd25f52264b8e2c15c23501c Mon Sep 17 00:00:00 2001 From: jpandre Date: Mon, 1 Sep 2008 16:31:57 +0000 Subject: [PATCH] Fixed character encoding setting --- src/ntfs-3g.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index 68604186..c6865fcc 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2428,7 +2428,7 @@ static char *parse_mount_options(const char *orig_opts) } else if (!strcmp(opt, "locale")) { if (missing_option_value(val, "locale")) goto err_exit; - if (ntfs_set_char_encoding(LC_ALL, val)) + if (ntfs_set_char_encoding(val)) ntfs_log_error(locale_msg, val); } else if (!strcmp(opt, "streams_interface")) { if (missing_option_value(val, "streams_interface"))