aboutsummaryrefslogtreecommitdiff
path: root/src/importldif.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-10 05:08:16 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-04-10 05:08:16 +0000
commit5ff17ba27424a29ae8e0ff3776944ea2a64dcab6 (patch)
tree6c451019f9a6112645fe661d56bb4c763f1bc4e1 /src/importldif.c
parent460f81039d540e3eccce832b6df910d1018f3cdc (diff)
convert filename from/to UTF-8 in CSV/LDIF import.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1605 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/importldif.c')
-rw-r--r--src/importldif.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/importldif.c b/src/importldif.c
index a26501f7..01379589 100644
--- a/src/importldif.c
+++ b/src/importldif.c
@@ -329,8 +329,11 @@ static gboolean imp_ldif_file_move() {
}
if( ! errFlag ) {
+ gchar *sFSFile;
/* Read attribute list */
- ldif_set_file( _ldifFile_, sFile );
+ sFSFile = conv_filename_from_utf8( sFile );
+ ldif_set_file( _ldifFile_, sFSFile );
+ g_free( sFSFile );
if( ldif_read_tags( _ldifFile_ ) == MGU_SUCCESS ) {
/* Load fields */
/* ldif_print_file( _ldifFile_, stdout ); */