Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
.NET Russian charset in engine.Play2D()

valery1966
Registered User
Quote
2009-05-24 16:13:30

Hi I'm try play sound:

ISoundEngine engine = new ISoundEngine();
string Path = "C:\\Òåñò\\ìóçûêà.mp3";
ISound currentlyPlayingSound = engine.Play2D(Path);

but currentlyPlayingSound return null.

When
string Path = "C:\\Test\\musice.mp3";
It's OK.

Please help me!


valery1966
Registered User
Quote
2009-05-24 22:36:33

That is help me:

System.Text.Encoding Enc = System.Text.Encoding.Default;
byte[] bUnic = Enc.GetBytes(Path);
Path = System.Text.Encoding.GetEncoding(1252).GetString(bUnic);
ISound currentlyPlayingSound = engine.Play2D(Path);


xxkxci
Guest
Quote
2009-05-25 11:00:06

vdxP0d <a href="http://iyvtrzfqhvsk.com/">iyvtrzfqhvsk</a>, [url=http://cowdmcxrenhf.com/]cowdmcxrenhf[/url], [link=http://wzrqdhtsrebi.com/]wzrqdhtsrebi[/link], http://fpovqglwltla.com/


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (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