Emulate SDL 1.2's 'unicode' feature with SDL 2.0.