Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Playing files with non english letters in their name

xvp
Registered User
Quote
2012-05-03 22:27:16

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


niko
Moderator
Quote
2012-05-04 06:51:14

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.


xvp
Registered User
Quote
2012-05-04 10:51:18

Thanks!! :)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact