mattt/houston — pull request #2 by jcxplorer (2012-09-25 13:47:38+00:00)
Title: Encoding problems

Using string interpolation in Notification#message causes the string to become ASCII-8BIT encoded because of the Array#pack call.

This pull request fixes it so messages containing UTF-8 characters don't cause a _incompatible character encodings: ASCII-8BIT and UTF-8_ exception.

It's also necessary to use `json.bytes.count`, otherwise a wrong count will be returned.