core:text_sdl2 make unicode text work both in python 2 and 3

Recent changes led to unicode input on python2(sdl2) to be broken.
This makes sure things work in both python 2 and 3
Bare except? And does this really need to be caught?