るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.113秒)

別のキーワード

  1. _builtin destination_encoding
  2. _builtin destination_encoding_name
  3. undefinedconversionerror destination_encoding
  4. invalidbytesequenceerror destination_encoding

ライブラリ

クラス

検索結果

Encoding::Converter#destination_encoding -> Encoding (63343.0)

変換先のエンコーディングを返します。

変換先のエンコーディングを返します。

@return 変換先のエンコーディング

//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//}