[SDL] The keyboard in SDL

Christer Sandberg christer.sandberg at mdh.se
Sat Feb 3 13:35:53 PST 2007


Thanks for all the answers, they were all valuable - I think I get it now.
Great that SDL gives support for multi-platform conversion functions (maybe 
more people would start using them if the were included in the docs?). It 
seem to works fine if I pass "UCS-2" for the source format, so hopefully the 
truncated UCS-4 (if that is correct?) is compatible with USC-2 as long as 
only zeros are truncated. 
Extra credits for SDL_iconv_string()!

Now a new questions araises: I need a function similar to toupper()  that 
operates on Unicode, and I can find no such in  SDL. I have looked at it out 
there but can't find anything for C. 
Someone that has any clue where to start digging? (I realize that it is likely 
to find out how to do it reading the complete Unicode docs, but that is 
rather extensive)

Thanks,
Christer


More information about the SDL mailing list