|
From: GitHub <no...@gi...> - 2013-11-29 13:09:59
|
Branch: refs/heads/master Home: https://github.com/swig/swig Commit: 9e2c35f766a01aa96459e2d3ce3f63b8d5aefe2c https://github.com/swig/swig/commit/9e2c35f766a01aa96459e2d3ce3f63b8d5aefe2c Author: Klaus Kämpf <kk...@su...> Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M Examples/test-suite/ruby/char_constant_runme.rb Log Message: ----------- Make string encoding explitic Ruby 2.0 enforces explicit string encodings. The char_constant testcase fails because the internal (SWIG_FromCharPtrAndSize, using rb_str_new) defaults to ASCII-8BIT while the test-suite file defaults to the current shell LOCALE setting. This patch sets the char_constant_runme.rb encoding to ASCII-8BIT. Commit: 5ebcfb116465def60ef7daf7b594568044819bb4 https://github.com/swig/swig/commit/5ebcfb116465def60ef7daf7b594568044819bb4 Author: Klaus Kämpf <kk...@su...> Date: 2013-11-29 (Fri, 29 Nov 2013) Changed paths: M Examples/test-suite/ruby/char_constant_runme.rb Log Message: ----------- Merge pull request #117 from kkaempf/ruby-strict-encoding Make string encoding explitic Compare: https://github.com/swig/swig/compare/fcd0480364ba...5ebcfb116465 |