Modifying unicode to be char code