るりまサーチ

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

別のキーワード

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

クラス

検索結果

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

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

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

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

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