Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
hey, I'm working on a player using c :) the player can play files that their name is only with english letters. when I try to player a file thats it's name is in hebrew it doesn't work.... any solution? :) Thanks |
||||
|
Ji, irrKlang doesn't support unicode currently. There are several workarounds for this. The simplest is to use the windows API function 'GetShortPathName()' http://msdn.microsoft.com/en-us/library/aa364989(v=vs.85).aspx to convert the name before supplying it to irrKlang. Usually, this is not necessary, because irrKlang is intended to be used in games, and the filenames usually are known if relative to the working directory, and it's easy to avoid such characters. Another workaround is to implement your own file access in irrKlang, it is just a few lines of code and there are tutorials showing how to do this. |
||||
|
Thanks!! :) |
|