From 74ed52e20e1ef2999f9658c8ccf0f61dff0aa8ee Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 5 Nov 2013 14:33:12 +0000 Subject: [PATCH] Fix for file searches returning non-precomposed unicode chars on OSX. --- modules/juce_core/native/juce_mac_Files.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/native/juce_mac_Files.mm b/modules/juce_core/native/juce_mac_Files.mm index 5cbd37e105..e4d4f9668e 100644 --- a/modules/juce_core/native/juce_mac_Files.mm +++ b/modules/juce_core/native/juce_mac_Files.mm @@ -356,7 +356,7 @@ public: return false; [enumerator skipDescendents]; - filenameFound = nsStringToJuce (file); + filenameFound = nsStringToJuce (file).convertToPrecomposedUnicode(); if (wildcardUTF8 == nullptr) wildcardUTF8 = wildCard.toUTF8();