I assume that you are trying to connect to an iPhone (which you should mention). If so the character is NOT an apostrophe - it is another Unicode character. If you search my answers in this Forum you will find a suggestion, but it is far easier to change the iPhone to a sensible SSID.

Only top voted, non community-wiki answers of a minimum length are eligible