createSound containing umlauts fails with FMOD_ERR_INTERNAL

Hi there

I’m struggling when loading files containing umlauts. The code looks as follows:

#include “…/lib/Fmod/inc/fmod.hpp”
int main()
FMOD::System* pSystem;
FMOD::Sound* pSound;
FMOD::Channel* pChannel;
pSystem->init(32, FMOD_INIT_NORMAL, 0);
FMOD_RESULT res = pSystem->createSound(“./media/testä.mp3”, FMOD_DEFAULT, 0, &pSound);
pSystem->playSound(pSound, 0, true, &pChannel);
bool isPlaying = true;
while (isPlaying == true)

Without the umlaut it works fine. Does anybody have an idea what I’m doing wrong here? Thanks in advance for any support.


Having an umlaut character in your file path will cause a warning of “Path is not a valid UTF-8 string”. Unfortunately, the only solution would be to change the file name.

To see warnings initialize the FMOD debugger with:


You will need to do this before you initialize the FMOD system.