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;
FMOD::System_Create(&pSystem);
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);
pChannel->setPaused(false);
bool isPlaying = true;
while (isPlaying == true)
{
pChannel->isPlaying(&isPlaying);
}
}
Without the umlaut it works fine. Does anybody have an idea what I’m doing wrong here? Thanks in advance for any support.