Tests fail with Ruby 1.9.3
Hi, the tests of skf, version 1.99 fail with Ruby 1.9.3 for me:
++ ruby -e 'require '\skf'\ ; puts Skf.convert('\-s'\, "��")' ++ iconv -f shift-jis -t utf-8 -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('-s', "��")
+ a_from_shift_jis= ++ ruby -e 'require '\skf'\ ; puts Skf.convert('\--oc=iso-2022-jp'\, "��")' ++ iconv -f iso-2022-jp -t utf-8 -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('--oc=iso-2022-jp', "��")
+ a_from_iso= ++ ruby -e 'require '\skf'\ ; puts Skf.convert('\-z'\, "��")' -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('-z', "��")
+ a_from_utf8= + '[' '' '!=' $'\343\201\202' ']'
Would it be possible to fix this issue?
Thank you, Bohuslav Kabrda
Sorry, Ruby 1.9.x and Python 3.x is not yet Supported (I know :-). I'd like to fix at beta of 1.99, so please wait for a while.
fixed at 1.99b0h-4 (tested with 1.9.2 and 1.9.3). Please try.
Hi, the tests of skf, version 1.99 fail with Ruby 1.9.3 for me:
++ ruby -e 'require '\skf'\ ; puts Skf.convert('\-s'\, "��")' ++ iconv -f shift-jis -t utf-8 -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('-s', "��")
+ a_from_shift_jis= ++ ruby -e 'require '\skf'\ ; puts Skf.convert('\--oc=iso-2022-jp'\, "��")' ++ iconv -f iso-2022-jp -t utf-8 -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('--oc=iso-2022-jp', "��")
+ a_from_iso= ++ ruby -e 'require '\skf'\ ; puts Skf.convert('\-z'\, "��")' -e:1: invalid multibyte char (US-ASCII) -e:1: invalid multibyte char (US-ASCII) -e:1: syntax error, unexpected $end, expecting ')' require 'skf' ; puts Skf.convert('-z', "��")
+ a_from_utf8= + '[' '' '!=' $'\343\201\202' ']'
Would it be possible to fix this issue?
Thank you, Bohuslav Kabrda