very weird way but u can just conver string into integers through an asci table and convert them back to an string calling a function.
got from internet
>>> s = 'hi'
>>> [ord(c) for c in s]
[104, 105]