From: "SHIGETOMI, Takuhiko" Date: 2005-09-01T14:22:26+09:00 Subject: Re: how to read binary file with char 0x1A hello. > > File::each_byte stops at this char. > > > > How can get it to read the whole file? Is there a binary mode for file operation? > > contents = open(filename, "rb") { |f| f.read } see also: IO.binmode q2hdp://void/3d/universe/milky-way-galaxy/orion-arm/sol-solar-system/ 3rd-planet/fareast/jp/tky/shigetomi.takuhiko.5618