diff --git a/examples/Assets/DemoUtilities.h b/examples/Assets/DemoUtilities.h index 2901ac4df1..96cf595a87 100644 --- a/examples/Assets/DemoUtilities.h +++ b/examples/Assets/DemoUtilities.h @@ -59,7 +59,7 @@ inline File getExamplesDirectory() noexcept return mo.toString(); #elif defined PIP_JUCE_EXAMPLES_DIRECTORY_STRING - return File { PIP_JUCE_EXAMPLES_DIRECTORY_STRING }; + return File { CharPointer_UTF8 { PIP_JUCE_EXAMPLES_DIRECTORY_STRING } }; #else auto currentFile = File::getSpecialLocation (File::SpecialLocationType::currentApplicationFile); auto exampleDir = currentFile.getParentDirectory().getChildFile ("examples");