OSX: fix T44533, system_bookmarks not showing utf standard ( umlauts etc. )

This commit is contained in:
jens verwiebe 2015-04-29 20:07:38 +02:00
parent 3878180a6f
commit ce32aae80c
Notes: blender-bot 2023-02-14 19:45:25 +01:00
Referenced by issue #44533, System Bookmark doesn't display files with accents
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
pathString = CFURLCopyFileSystemPath(cfURL, kCFURLPOSIXPathStyle);
if (pathString == NULL || !CFStringGetCString(pathString, line, sizeof(line), kCFStringEncodingASCII))
if (pathString == NULL || !CFStringGetCString(pathString, line, sizeof(line), kCFStringEncodingUTF8))
continue;
/* Exclude "all my files" as it makes no sense in blender fileselector */