twitter/cassandra — Issue #132: Exception Thrown with non-ascii characters.
Author: benbeltran
Created: 2011-11-25 23:21:19+00:00
State: open

Trying to insert strings with non-ascii characters to cassandra (e.g. "über élan") results in an exception:

Encoding::CompatibilityError
incompatible character encodings: ASCII-8BIT and UTF-8

Apparently, it breaks when doing this:

```ruby
@wbuf << (sz ? buf[0...sz] : buf)
```

The file in question is `framed_transport.rb`.