OSX: fix T44533, system_bookmarks not showing utf standard ( umlauts etc. )
This commit is contained in:
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
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue