I wonder if there's a direct way that converts utf-8 to unicode. Because some method like setWindowCaption use irr::core::stringw, while strings produced by xml reader can be either stringc or stringw.
If not, maybe I should avoid the trouble and save all xml files using unicode.
Last edited by utunnels on Tue Apr 24, 2012 2:15 pm, edited 2 times in total.
Hm, if you just want to copy from char to widechar you can do that with the irrlicht strings directly. You can just pass a stringc to a stringw (at least in the constructor, would have to look-up docs if assignement is also possible.. probably is).