Hello,
at first a great thanks for beanstalk, it's a great piece of software.
I'm using ruby and beanstalk-client (1.1.0) (beanstalkd 1.4) and I have this
small piece of code :
---8<---
# encoding: UTF-8
require 'rubygems'
require 'beanstalk-client'
con = Beanstalk::Connection.new('localhost:11300')
con.put("宮島")
--->8---
On Snow Leopard, with Ruby 1.8.7-p72 and p249, no issues (program terminates
without complaints).
With Ruby 1.9.1-p378 and 1.9.2-p0, I have
---8<---
/Users/jmettraux/.rvm/gems/ruby-1.9.1-p378/gems/beanstalk-client-1.1.0/lib/beanstalk-client/connection.rb:203:in
`check_resp': EXPECTED_CRLF (Beanstalk::ExpectedCRLFError)
from
/Users/jmettraux/.rvm/gems/ruby-1.9.1-p378/gems/beanstalk-client-1.1.0/lib/beanstalk-client/connection.rb:188:in
`interact'
from
/Users/jmettraux/.rvm/gems/ruby-1.9.1-p378/gems/beanstalk-client-1.1.0/lib/beanstalk-client/connection.rb:57:in
`put'
from t.rb:7:in `<main>'
--->8---
Should Base64 my payload as a workaround ?
Best regards,
--
John Mettraux - http://jmettraux.wordpress.com
--
You received this message because you are subscribed to the Google Groups
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/beanstalk-talk?hl=en.