I do not see that this has been mentioned, so I will toss the note here to possibly help someone.
For hex entry, type $andthenallofthehexcode
If the hex is exactly the same as that in the wifi network, you are in.
One of my networks is the Qwest wireless, and ascii will not work with the iphone, but the hex preceded by the $ sign gets you on.
<''>