gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Using wide chars with devkitARM

#146637 - sajiimori - Fri Dec 07, 2007 3:48 am

devkitARM doesn't have wide char support, correct? What's a reasonable way to add wide char support (including functions like swprintf) to a devkitPro environment? Would that involve linking in a different standard library?

Thanks,
Eli

#146638 - tepples - Fri Dec 07, 2007 4:08 am

Chishm has hinted that devkitARM R22 will come with some sort of wide character support.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#146694 - sajiimori - Fri Dec 07, 2007 7:55 pm

Cool, that'll be nice. I've got another library I can use in the meantime.

#146696 - Lick - Fri Dec 07, 2007 9:16 pm

I think they work already? Try appending L to your string constants and look at what the compiler outputs.

wchar_t *wstring = L"Wide";
_________________
http://licklick.wordpress.com