Thrift-1023:Thrift encoding (UTF-8) issue with Ruby 1.9.2
authorJake Farrell <jfarrell@apache.org>
Tue, 9 Oct 2012 01:10:43 +0000 (01:10 +0000)
committerJake Farrell <jfarrell@apache.org>
Tue, 9 Oct 2012 01:10:43 +0000 (01:10 +0000)
commitb5a18a150ee73003ab760f85023e5fcb3625c8e5
tree7a721c8263485511291e94d877aef54f5b5c71ea
parentfc35612d1dba14b47dadfed1c354f4d20be63e03
Thrift-1023:Thrift encoding (UTF-8) issue with Ruby 1.9.2
Client: rb
Patch: Nathan Beyer

Fixes encoding issue for UTF-8 strings in ruby client.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395832 13f79535-47bb-0310-9956-ffa450edef68
24 files changed:
lib/rb/ext/binary_protocol_accelerated.c
lib/rb/ext/bytes.c [new file with mode: 0644]
lib/rb/ext/bytes.h [new file with mode: 0644]
lib/rb/ext/compact_protocol.c
lib/rb/ext/constants.h
lib/rb/ext/memory_buffer.c
lib/rb/ext/thrift_native.c
lib/rb/lib/thrift.rb
lib/rb/lib/thrift/bytes.rb [new file with mode: 0644]
lib/rb/lib/thrift/protocol/base_protocol.rb
lib/rb/lib/thrift/protocol/binary_protocol.rb
lib/rb/lib/thrift/protocol/compact_protocol.rb
lib/rb/lib/thrift/protocol/json_protocol.rb
lib/rb/lib/thrift/transport/base_transport.rb
lib/rb/lib/thrift/transport/buffered_transport.rb
lib/rb/lib/thrift/transport/framed_transport.rb
lib/rb/lib/thrift/transport/http_client_transport.rb
lib/rb/lib/thrift/transport/io_stream_transport.rb
lib/rb/lib/thrift/transport/memory_buffer_transport.rb
lib/rb/lib/thrift/transport/socket.rb
lib/rb/spec/binary_protocol_spec_shared.rb
lib/rb/spec/bytes_spec.rb [new file with mode: 0644]
lib/rb/spec/compact_protocol_spec.rb
lib/rb/spec/json_protocol_spec.rb