[Bf-blender-cvs] [ce32aae] master: OSX: fix T44533, system_bookmarks not showing utf standard ( umlauts etc. )

Jens Verwiebe noreply at git.blender.org
Wed Apr 29 20:08:04 CEST 2015


Commit: ce32aae80c5c00ec33a86528a93809c66f819c5c
Author: Jens Verwiebe
Date:   Wed Apr 29 20:07:38 2015 +0200
Branches: master
https://developer.blender.org/rBce32aae80c5c00ec33a86528a93809c66f819c5c

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

===================================================================

M	source/blender/editors/space_file/fsmenu.c

===================================================================

diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index c6ee687..fdf7b45 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -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 */




More information about the Bf-blender-cvs mailing list