* mu-msg-part: ensure that mime part file names are proper utf8

This commit is contained in:
djcb
2012-01-12 00:22:20 +02:00
parent 5fb5347bc8
commit 58db0c76a6
2 changed files with 14 additions and 5 deletions

View File

@ -136,9 +136,11 @@ gchar* mu_msg_part_filepath (MuMsg *msg, const char* targetdir,
/**
* get a full path name for saving the message part in the cache
* directory for this message; if needed, create the directory (but
* not the file)
* get a full path name for a file for saving the message part INDEX;
* this path is unique (1:1) for this particular message and part for
* this user. Thus, it can be used as a cache.
*
* Will create the directory if needed.
*
* @param msg a msg
* @param partidx the part for which to determine a filename