[ https://issues.apache.org/jira/browse/AVRO-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13500110#comment-13500110 ]
Tophe Vigny commented on AVRO-1206: ----------------------------------- hi all, I have merged the patch from AVRO-1134, and then all work. I have run the test with ruby-1.9.3 and ruby-1.8.7, all of them passed. some test have to be modified because in 1.9.3 ./ isn't in the classpath, so change require 'test_help' with require './test_help' can solve the problem. if you release a new 1.7.3 gems, can you also change : s.description = "Apache is a data serialization and RPC format" with s.description = "Avro is a data serialization and RPC format" > utf-8 serialisation problems > ----------------------------- > > Key: AVRO-1206 > URL: https://issues.apache.org/jira/browse/AVRO-1206 > Project: Avro > Issue Type: Bug > Components: ruby > Affects Versions: 1.7.2 > Environment: ruby-1.9.3p194, avro gem 1.7.2. > Reporter: Tophe Vigny > > some serialized utf-8 characters like "家" cannot be read latter, avro break > with > /gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:230:in `match_schemas': > undefined method `type' for nil:NilClass (NoMethodError) > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:288:in > `read_data' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:384:in > `read_union' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:317:in > `read_data' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:392:in > `block in read_record' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:390:in > `each' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:390:in > `read_record' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:318:in > `read_data' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/io.rb:283:in > `read' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/data_file.rb:223:in > `block in each' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/data_file.rb:211:in > `loop' > from > /home/Tophe/.rvm/gems/ruby-1.9.3-p194/gems/avro-1.7.2/lib/avro/data_file.rb:211:in > `each' > from avr_err_example.rb:42:in `block in <main>' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira