diff --git a/test/ruby/test_big5.rb b/test/ruby/enc/test_big5.rb similarity index 100% rename from test/ruby/test_big5.rb rename to test/ruby/enc/test_big5.rb diff --git a/test/ruby/test_cp949.rb b/test/ruby/enc/test_cp949.rb similarity index 100% rename from test/ruby/test_cp949.rb rename to test/ruby/enc/test_cp949.rb diff --git a/test/ruby/test_euc_jp.rb b/test/ruby/enc/test_euc_jp.rb similarity index 100% rename from test/ruby/test_euc_jp.rb rename to test/ruby/enc/test_euc_jp.rb diff --git a/test/ruby/test_euc_kr.rb b/test/ruby/enc/test_euc_kr.rb similarity index 100% rename from test/ruby/test_euc_kr.rb rename to test/ruby/enc/test_euc_kr.rb diff --git a/test/ruby/test_euc_tw.rb b/test/ruby/enc/test_euc_tw.rb similarity index 100% rename from test/ruby/test_euc_tw.rb rename to test/ruby/enc/test_euc_tw.rb diff --git a/test/ruby/test_gb18030.rb b/test/ruby/enc/test_gb18030.rb similarity index 100% rename from test/ruby/test_gb18030.rb rename to test/ruby/enc/test_gb18030.rb diff --git a/test/ruby/test_gbk.rb b/test/ruby/enc/test_gbk.rb similarity index 100% rename from test/ruby/test_gbk.rb rename to test/ruby/enc/test_gbk.rb diff --git a/test/ruby/test_iso_8859.rb b/test/ruby/enc/test_iso_8859.rb similarity index 100% rename from test/ruby/test_iso_8859.rb rename to test/ruby/enc/test_iso_8859.rb diff --git a/test/ruby/test_shift_jis.rb b/test/ruby/enc/test_shift_jis.rb similarity index 100% rename from test/ruby/test_shift_jis.rb rename to test/ruby/enc/test_shift_jis.rb diff --git a/test/ruby/test_utf16.rb b/test/ruby/enc/test_utf16.rb similarity index 100% rename from test/ruby/test_utf16.rb rename to test/ruby/enc/test_utf16.rb diff --git a/test/ruby/test_utf32.rb b/test/ruby/enc/test_utf32.rb similarity index 100% rename from test/ruby/test_utf32.rb rename to test/ruby/enc/test_utf32.rb diff --git a/test/ruby/test_windows_1251.rb b/test/ruby/enc/test_windows_1251.rb similarity index 100% rename from test/ruby/test_windows_1251.rb rename to test/ruby/enc/test_windows_1251.rb