From: Austin Ziegler Date: 2008-12-21T03:53:21+09:00 Subject: [ruby-core:20725] Re: Working with binary strings in Ruby 1.9? On Sat, Dec 20, 2008 at 1:49 PM, Hadmut Danisch wrote: > Is there any way to get rid of all this encoding trouble and to have > binary byte sequences that just work as they did with 1.8? binstring.force_encoding("ASCII-8BIT") # or BINARY I think that's right. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca