The iPhone prompt includes the Unicode character U+2019 "single right quotation mark". This is valid (if very inconvenient).
It is easy enough to include Unicode characters in strings. The following would echo this at the bash
command prompt.
echo $'My Name\u2019s iPhone'
echo $'My Name\xE2\x80\x99s iPhone'
The (very sketchy) documentation of man wpa_supplicant.conf
does not seem to specify how the ssid
parameter is interpreted.
You could try the form above $'My Name\u2019s iPhone'
and see if that helps.
NOTE The string "My Name\xE52\x80\x99s iPhone"
in your question is not valid Unicode (there is an excess character 5
) but this MAY work isif you correct it.