From: "Vera, Michael" Date: 2002-11-14T23:56:39+09:00 Subject: Re: File Packing Ideas - FINAL >I'm not sure why you want to split data and chomp them. Why >not just: >1) read data into a string (with compressing) >2) send cgi.escape(string) or string.dump >-- >Nobu Nakada I did not see anything on reading an entire file straight into a string. I *did* find that readlines makes each line an array element. I am very curious how you read a whole file into a string...? Thanks, Mike