# \[Bug #2605\] test/iconv/test\_option.rb fails

**URL:** <https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587>\
**Category:** Development\
**Created:** [January 14, 2010, 6:03am UTC](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587 "2010-01-14T06:03:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takahiro\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@Takahiro\_K](https://www.ruby-forum.com/u/Takahiro_K)\
**Post date:** [January 14, 2010, 6:03am UTC](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587/1 "2010-01-14T06:03:33Z")

</div>

Bug #2605: test/iconv/test\_option.rb fails  
[http://redmine.ruby-lang.org/issues/show/2605](http://redmine.ruby-lang.org/issues/show/2605)

e$B5/I\<\<Te(B: Takahiro K.  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low  
e$B%+%F%4%je(B: ext  
ruby -v: ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-netbsdelf]

test/iconv/test\_option.rbe$B$N%F%9%H$O!"e(BGNU iconv/Linux  
glibce$B$r;HMQ$7$F$$$J$$e(B  
e$B4D6-$G$O\<:GT$7$^$9!#e(B

test\_ignore\_option(TestIconv::Option):  
Iconv::InvalidEncoding: invalid encoding (“SHIFT\_JIS”, “EUC-JP//ignore”)  
./test/iconv/test\_option.rb:5:in `initialize' ./test/iconv/test_option.rb:5:in `new’  
./test/iconv/test\_option.rb:5:in `test\_ignore\_option’

test\_translit\_option(TestIconv::Option):  
Iconv::InvalidEncoding: invalid encoding (“SHIFT\_JIS”, “EUC-JP//ignore”)  
./test/iconv/test\_option.rb:19:in `initialize' ./test/iconv/test_option.rb:19:in `new’  
./test/iconv/test\_option.rb:19:in `test\_translit\_option’

iconv(3)e$B$N%3!\<%I%;%C%HL\>$Ke(B “//ignore” e$B$de(B  
“//translit"e$B$rDI2C$7$F5sF0$re(B  
e$BJQ$($k5!G=$Oe(BGNU iconv/Linux  
glibce$B$NFH\<+$N3HD%$G0?”@-$O$"$j$^$;$s!#e(B

e$B$3$N$h$&$J0UL#$G!"e(Btest/iconv/test\_option.rbe$B$G9T$C$F$$$k%F%9%H$OFH\<+$Ne(B  
e$B5!G=$r\<BAu$7$?e(Biconve$B$r%F%9%H$7$F$$$k$3$H$K$J$j$^$9!#e(B

iconv(3)e$B$NLdBj$O2a5n$K%a!\<%j%s%0%j%9%H$GOCBj$K$J$j$^$7$?$,!“$=$NLdBj$re(B  
e$BL@3N$K;D$7$F$_$/L\E_$G!”%A%1%C%H$H$7$FEPO?$7$^$9!#e(B

---

<div class="post-metadata">

**Author:** ![Takahiro\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@Takahiro\_K](https://www.ruby-forum.com/u/Takahiro_K)\
**Post date:** [January 14, 2010, 12:19pm UTC](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587/2 "2010-01-14T12:19:18Z")

</div>

e$B%A%1%C%He(B #2605 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!\<%?%9e(B Opene$B$+$ie(BAssignede$B$KJQ99e(B  
e$BC4Ev\<Te(B Shyouhei U.e$B$K%;%C%He(B

## e$BC1$Ke(B r25342 e$B$,$^$@%P%C%/%]!\<%H$5$l$F$$$J$$$@$1$G$9!#e(B

[http://redmine.ruby-lang.org/issues/show/2605](http://redmine.ruby-lang.org/issues/show/2605)

---

<div class="post-metadata">

**Author:** ![Takahiro\_K](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/76d3ee/32.png) [@Takahiro\_K](https://www.ruby-forum.com/u/Takahiro_K)\
**Post date:** [June 10, 2010, 9:45am UTC](https://www.ruby-forum.com/t/bug-2605-test-iconv-test-option-rb-fails/181587/3 "2010-06-10T09:45:43Z")

</div>

e$B%A%1%C%He(B #2605 e$B$,99?7$5$l$^$7$?!#e(B (by Shyouhei U.)

e$B%9%F!\<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B

## e$B%P%C%/%]!\<%H$7$^$7$?e(B

[http://redmine.ruby-lang.org/issues/show/2605](http://redmine.ruby-lang.org/issues/show/2605)
