Hello,
It would be cool for irrlicht to support a real stringw/wchar_t * based clipboard, for internationalized text. Current clipboard supports only extends from 0 to 255. That means that if your wchar_t type is UCS based (its that way on all platforms I think), then anything above U+0FF doesn't work. This means for example cyrillic text, which works fine to be entered in 1.9 gui text boxes, becomes garbled output when copying it inside the irrlicht based application and, pasting it on another application. The bug isn't limited to cross application pasting, it also is a problem with pasting within the application, something which is a different matter at least in X11 based clipboard handling.
Fellow minetest dev ShadowNinja has made this reference patch which should at least improve the situation for linux/X11: http://sprunge.us/ijCY
Note that it doesn't build yet and therefore wasn't tested, but it can serve as a reference on how to get it work with X11.
Full international character support for system clipboard
Re: Full international character support for system clipboar
Thanks. No promise when I get to it, as I'm not working much on Irrlicht these weeks. I hope I'll be back soon to work on my Irrlicht todo-list again.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm