From: James Rasmussen Date: 2010-08-27T16:56:24+09:00 Subject: Re: File Contents into Hash Table? pejuko wrote: >> And it shows all the keys, but it's still not finding it when I do a >> simple lookup: >> >> puts hash[")"] > > that is strange our both codes are working well with given example > >> >> Is there something simple I am missing? > > can you post your whole code which doesn't work? Ha, It's all sorted now. There was something wrong with the charset of my .txt file. I put it into a fresh .txt file and it sorted it out. Good grief, sometimes it's the random things that get you. Thanks again. -- Posted via http://www.ruby-forum.com/.