--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I think this might be a bug, but I'm not sure.  The following code
raises an exception:

    # encoding:utf-8
   =20
    require 'minitest/autorun'
   =20
   =20
    class NewConverterTest < MiniTest::Unit::TestCase
      def setup
        @old_internal =3D Encoding.default_internal
        @old_external =3D Encoding.default_external
      end
   =20
      def teardown
        Encoding.default_internal =3D @old_internal
        Encoding.default_external =3D @old_external
      end
   =20
      def test_iso_8859_utf_8_change_encodings
        Encoding.default_internal =3D 'UTF-8'
        Encoding.default_external =3D 'ISO-8859-1'
   =20
        Encoding::Converter.new 'ISO-8859-1', 'UTF-8' # boom!
      end
    end

Exception:

      1) Error:
    test_iso_8859_utf_8_change_encodings(NewConverterTest):
    Encoding::ConverterNotFoundError: code converter not found (ISO-8859-1 =
to UTF-8)
        test.rb:21:in `initialize'
        test.rb:21:in `new'
        test.rb:21:in `test_iso_8859_utf_8_change_encodings'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:976:in `run'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:814:in `block i=
n _run_suite'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:807:in `map'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:807:in `_run_su=
ite'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:797:in `block i=
n _run_suites'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:797:in `map'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:797:in `_run_su=
ites'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:773:in `_run_an=
ything'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:936:in `run_tes=
ts'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:923:in `block i=
n _run'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:922:in `each'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:922:in `_run'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:911:in `run'
        /Users/aaron/.local/lib/ruby/1.9.1/minitest/unit.rb:691:in `block i=
n autorun'

Is this intentional?  If so, why?  Thank you.

--=20
Aaron Patterson
http://tenderlovemaking.com/

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBAgAGBQJO4T1DAAoJEJUxcLy0/6/Gs8IH/3aDJQwW0gmx8VHCWhpEESl6
G2MKtREzeeFfHId426w/0SBHJfde7D7hmQr6bQJSbctYr/NeSnBgrah5WOFpx9h8
EiDk1cryRyZDSS1MkV63SavqWYoD11Lk9e3HTSuyNsMqv127DbTj75uemfPnLrXS
3VA7Y/Spn72tRNsTezFAxl1Mkfs1AXKKkXwQ5GNwo9dmwnfqCXz8D/bhVxGEWMoP
5FaSumHbODSS+lPA9ETSp4mdo/b7qEQbVEnUAwGab6H+oF/DVA11q8MlcShjSklW
5O5KvswneHCwWwtIOJT1yiO4cHIIIDFuNtd8PeQI1+JwTVL6iI7w5lZW4amUbCc=
=RhDM
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--