commit | 885a7002835f447e87350e7601ea1518e31c8759 | [log] [tgz] |
---|---|---|
author | Klaus Kämpf <kkaempf@suse.de> | Fri Nov 29 13:48:07 2013 +0100 |
committer | William S Fulton <wsf@fultondesigns.co.uk> | Sun Feb 09 09:27:54 2014 +0000 |
tree | cc45e73c3089d5bb5ab1b81d94b125dbc1cf23c1 | |
parent | 3c5de3457341f5eba0ddfc462df066c7974593e2 [diff] |
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.