Connecting to a WEP wireless lan

I have been struggling making an official Arduino WiFi/UNO combination connect to my WEP network. The problem seems to be with the formatting of the password. Using the code from the AdaFruit site I can connect if I break the ten alphanumeric digits into 5 hex values, so: char pass= "C187D53996" becomes const char pass[]={0xC1, 0x87, 0xD5, 0x39, 0x96,0};

But when I try using the libraries suggested for a data-logging project on the Xively site, neither the simple string nor the hex version works. The library for this version says that the password must be set as ASCII, so I have tried sending {67, 49, 56 etc}, without success. Can anyone explain what other format I need to try or what else to do? Thanks michael

I have been struggling making an official Arduino WiFi/UNO combination connect to my WEP network.

What does this have to do with data logging? The AdaFruit site? xively? Knock THAT crap off until you can connect to YOUR network.