finish -> String[permalink][rdoc][edit]- 
変換処理を終了し、結果文字列の末尾を返します。変換元の文字列の末尾がバイト列の途中で終わっていた場合、保持しているバイト列全てを返します。
- [RETURN]
 - 変換結果の末尾
 - [EXCEPTION] Encoding::InvalidByteSequenceError:
 - 変換元のエンコーディングにおいて不正なバイト列があった場合に発生します。
 
ec = Encoding::Converter.new("utf-8", "iso-2022-jp") p ec.convert("\u3042") #=> "\e$B$\"" p ec.finish #=> "\e(B"