write a string into ESP8266 eeprom

I need to convert characters to integer,so I can save them into eeprom and then reconvert integer to character.