write a string into ESP8266 eeprom

Is that wrong?what is the easy way to convert a character to integer?

What is the integer equivalent to T? To E?