Martin Owens <doctormo@gmail.com> writes: > Hello Again, > > I notice in the lib code notmuch_database_open(), > notmuch_database_create() these functions use const char *path for the > directory path input. Is this unicode safe? > > The python bindings (and ctype docs) seem to suggest using something > called 'wchar_t *' for accepting unicode but that's for C not C++. > > Is this something that should be patched? I think as long as the path does not contain embedded null character then it is safe. Most posix filesystem does not allow null character in the filename so you cannot use UTF-16 or UTF-32 to encode the unicode path. -- Kanru