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.
This commit is contained in:
parent
fcd0480364
commit
9e2c35f766
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env ruby
|
||||
#
|
||||
#Encoding: ASCII-8BIT
|
||||
# Put description here
|
||||
#
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue