Include string encoding in string_t.