Converting unicode to 'int'

@GoToLoop Thank you so much for the swift reply and detailed explanations ! It works great now.