213件ヒット
[101-200件を表示]
(0.088秒)
クラス
- Encoding (12)
-
Encoding
:: Converter (36) - IO (48)
-
Net
:: IMAP (24) - String (31)
モジュール
- URI (62)
キーワード
-
decode
_ utf7 (12) -
decode
_ www _ form (12) -
decode
_ www _ form _ component (12) -
default
_ internal (12) -
encode
_ utf7 (12) -
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) - escape (7)
-
for
_ fd (12) - new (79)
- open (24)
検索結果
先頭5件
-
URI
. decode _ www _ form _ component(str , enc=Encoding :: UTF _ 8) -> String (114.0) -
URL-encoded form data の文字列の各コンポーネント をデコードした文字列を返します。
...URL-encoded form data の文字列の各コンポーネント
をデコードした文字列を返します。
通常は URI.decode_www_form を使うほうがよいでしょう。
"+" という文字は空白文字にデコードします。
enc で指定したエンコーディングの文字......を付加します。
このメソッドは
https://www.w3.org/TR/html5/sec-forms.html#urlencoded-form-data
にもとづいて実装されています。
//emlist[][ruby]{
require 'uri'
enc = URI.encode_www_form_component('Ruby リファレンスマニュアル')
# => "Ruby+%E3%83%AA%E3%83%95%E3%......_www_form_component(enc)
# => "Ruby リファレンスマニュアル"
//}
@param str デコード対象の文字列
@param enc エンコーディング
@raise ArgumentError str のフォーマットが不正である場合に発生します
@see URI.encode_www_form_component, URI.decode_www_form... -
Net
:: IMAP . decode _ utf7(str) -> String (108.0) -
modified UTF-7 の文字列を UTF-8 の文字列に変換します。
...い。
Net::IMAP ではメールボックス名のエンコードを自動的変換「しない」
ことに注意してください。必要があればユーザが変換すべきです。
@param str 変換対象の modified UTF-7 でエンコードされた文字列
@see Net::IMAP.encode_utf7... -
Encoding
. default _ internal -> Encoding | nil (25.0) -
既定の内部エンコーディングを返します。デフォルトでは nil です。
...くファイルなどで、内部エンコーディングが指定されていない場合の既定値として利用されます。
String#encode と String#encode! は、引数に Encoding が与えられていない場合、 default_internal を使用します。
文字列リテラルを作成... -
Encoding
:: Converter . new(convpath) -> Encoding :: Converter (13.0) -
Encoding::Converter オブジェクトを作成します。
...ンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding:... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (13.0) -
Encoding::Converter オブジェクトを作成します。
...ンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding:... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding , options) -> Encoding :: Converter (13.0) -
Encoding::Converter オブジェクトを作成します。
...ンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode でのハッシュオプションに加えて、以下の定数が利用可能です。
* Encoding::Converter::INVALID_REPLACE
* Encoding:... -
IO
. for _ fd(fd , mode = "r" , **opts) -> IO (13.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...味になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン......に fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン... -
IO
. new(fd , mode = "r" , **opts) -> IO (13.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...味になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン......に fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン... -
IO
. open(fd , mode = "r" , **opts) -> IO (13.0) -
オープン済みのファイルディスクリプタ fd に対する新しい IO オブジェクトを生成して返します。
...味になります。
* :autoclose 偽を渡すと close時/GCでのファイナライザ呼出時に fd を close しません。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン......に fd を close しません。
* :path 文字列を渡すと、IO#path メソッドがその値を返すようになります。
また、String#encode で説明されている :invalid => :replace などの
変換オプションも指定することができます。外部エンコーディン...