[ https://issues.apache.org/jira/browse/AVRO-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting resolved AVRO-1206. -------------------------------- Resolution: Fixed Fix Version/s: 1.7.3 I committed this. > 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 > Fix For: 1.7.3 > > Attachments: AVRO-1206.patch > > > 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