Hi Robert, got it now, but the data is all in hex, your code gives the 
ascii code ? but its almost there. the name follows 10 00 10 00 in this 
format 50 4e (P) (N) then xx 00 "surname" 5e "first name" followed by 10 
and then 00
I'll see what I can do with your code but any help would be appreciated

-- 
Posted via http://www.ruby-forum.com/.