574件ヒット
[1-100件を表示]
(0.037秒)
ライブラリ
- ビルトイン (417)
-
cgi
/ core (12) -
minitest
/ unit (1) - open-uri (12)
- openssl (12)
-
rexml
/ document (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
webrick
/ httpresponse (12)
クラス
-
ARGF
. class (24) -
Encoding
:: Converter (204) -
Encoding
:: InvalidByteSequenceError (48) -
Encoding
:: UndefinedConversionError (60) -
OpenSSL
:: SSL :: SSLContext (12) -
RDoc
:: Options (24) -
REXML
:: Document (24) -
REXML
:: Instruction (24) -
REXML
:: XMLDecl (12) - String (81)
-
WEBrick
:: HTTPResponse (12)
モジュール
-
CGI
:: QueryExtension (12) -
MiniTest
:: Assertions (1) -
OpenURI
:: Meta (12) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
-
accept
_ encoding (12) -
ca
_ file= (12) - chunked= (12)
- concat (21)
- content (12)
-
content
_ encoding (12) - convert (12)
- convpath (12)
-
destination
_ encoding (36) -
destination
_ encoding _ name (24) - encode (36)
- encode! (24)
- encoding= (12)
-
error
_ bytes (12) -
error
_ char (12) - finish (12)
-
incomplete
_ input? (12) -
insert
_ output (12) - inspect (12)
-
last
_ error (12) -
mu
_ pp (1) -
primitive
_ convert (48) -
primitive
_ errinfo (12) - putback (24)
- replacement (12)
- replacement= (12)
-
set
_ encoding (24) -
source
_ encoding (24) -
source
_ encoding _ name (12) -
stand
_ alone? (12) - target (12)
- version (12)
- xmldecl (36)
検索結果
先頭5件
-
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (21331.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding... -
RDoc
:: Options # encoding -> Encoding (21241.0) -
コマンドライン引数の --encoding オプションを指定していた場合、指定した エンコーディングに対応する Encoding オブジェクトを返します。
...コマンドライン引数の --encoding オプションを指定していた場合、指定した
エンコーディングに対応する Encoding オブジェクトを返します。
指定しなかった場合は Encoding.default_external の値を返します。... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (21214.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: Converter # destination _ encoding -> Encoding (18321.0) -
変換先のエンコーディングを返します。
...変換先のエンコーディングを返します。
@return 変換先のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//}... -
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (15343.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: UndefinedConversionError # source _ encoding -> Encoding (15231.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
...ーディングを Encoding
オブジェクトで返します。
変換が多段階になされる場合は元の文字列のものではない
エンコーディングが返される場合があることに注意してください。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (15215.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (15214.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (12543.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
...、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_by......ram options 変換の詳細を指定する定数やハッシュ
@return 変換結果を表す Symbol
options には以下が指定できます。
: hash form
:partial_input => true # source buffer may be part of larger source
:after_output => true # stop conversion after o......utput before input
: integer form
Encoding::Converter::PARTIAL_INPUT
Encoding::Converter::AFTER_OUTPUT
戻り値は以下のうちのどれかです。
* :invalid_byte_sequence
* :incomplete_input
* :undefined_conversion
* :after_output
* :destination_buffer_full
* :source_buffer_e...