# createSound containing umlauts fails with FMOD\_ERR\_INTERNAL

**URL:** <https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348>\
**Category:** FMOD Engine\
**Tags:** cpp\
**Created:** [September 30, 2022, 11:33am UTC](https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348 "2022-09-30T11:33:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick.engel](https://avatars.discourse-cdn.com/v4/letter/p/c6cbf5/32.png) [@patrick.engel](https://qa.fmod.com/u/patrick.engel)\
**Post date:** [September 30, 2022, 11:33am UTC](https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348/1 "2022-09-30T11:33:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [October 3, 2022, 5:01am UTC](https://qa.fmod.com/t/createsound-containing-umlauts-fails-with-fmod-err-internal/19348/2 "2022-10-03T05:01:23Z")

</div>

Hi,

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:

```auto
FMOD::Debug_Initialize(FMOD_DEBUG_LEVEL_WARNING);

```

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