99件ヒット
[1-99件を表示]
(0.050秒)
種類
- 定数 (55)
- インスタンスメソッド (22)
- モジュール (11)
- 文書 (11)
クラス
-
OpenSSL
:: X509 :: Name (11) -
Psych
:: Nodes :: Stream (11) -
Psych
:: Parser (11) - StringScanner (22)
- WIN32OLE (11)
モジュール
-
OpenSSL
:: ASN1 (11)
キーワード
- ASN1 (11)
-
CP
_ UTF8 (11) -
DEFAULT
_ OBJECT _ TYPE (11) - UTF8STRING (11)
- match? (11)
-
matched
_ size (11) -
ruby 1
. 8 . 2 feature (11)
検索結果
先頭5件
-
Psych
:: Nodes :: Stream :: UTF8 -> Integer (18224.0) -
UTF8 エンコーディングを表します。
...UTF8 エンコーディングを表します。
Psych::Parser::UTF8 と同じ値です。
@see Psych::Nodes::Stream.new... -
Psych
:: Parser :: UTF8 -> Integer (18202.0) -
UTF-8 エンコーディングを表します。
UTF-8 エンコーディングを表します。
@see Psych::Handler#start_stream -
OpenSSL
:: ASN1 :: UTF8STRING -> Integer (6218.0) -
ASN.1 UNIVERSAL タグの、 UTF8STRING のタグ番号 12 を表す定数です。
...ASN.1 UNIVERSAL タグの、
UTF8STRING のタグ番号 12 を表す定数です。... -
WIN32OLE
:: CP _ UTF8 -> Integer (6202.0) -
文字コードの変換にUTF-8を利用することを示します(65001)。
文字コードの変換にUTF-8を利用することを示します(65001)。 -
StringScanner
# match?(regexp) -> Integer | nil (113.0) -
スキャンポインタの地点だけで regexp と文字列のマッチを試します。 マッチしたら、スキャンポインタは進めずにマッチした 部分文字列の長さを返します。マッチしなかったら nil を 返します。
...サイズは文字単位でなくバイト単位となります。
//emlist[][ruby]{
require 'strscan'
def case1(encode)
utf8 = "\u{308B 3073 3044}"
s = StringScanner.new(utf8.encode(encode))
s.match?(/#{"\u{308B}".encode(encode)}/)
end
p case1("EUC-JP") #=> 2
//}
@param regexp マッ... -
StringScanner
# matched _ size -> Integer | nil (113.0) -
前回マッチした部分文字列の長さを返します。 前回マッチに失敗していたら nil を返します。
...ズは文字単位でなくバイト単位となります。
//emlist[][ruby]{
require 'strscan'
def run(encode)
utf8 = "\u{308B 3073 3044}" # るびい
s = StringScanner.new(utf8.encode(encode))
s.scan(/#{"\u{308B}".encode(encode)}/)
s.matched_size
end
p run("UTF-8") #=> 3
p run("EUC... -
OpenSSL
:: X509 :: Name :: DEFAULT _ OBJECT _ TYPE -> Integer (107.0) -
属性値のデフォルトの ASN.1 の型です。
...属性値のデフォルトの ASN.1 の型です。
OpenSSL::X509::Name.parse や OpenSSL::X509::Name.new で
template に指定されなかった属性はこの型であると仮定して処理されます。
OpenSSL::ASN1::UTF8STRING を返します。... -
OpenSSL
:: ASN1 (36.0) -
ASN.1(Abstract Syntax Notation One) のデータを取り扱うためのモジュールです。
...ire 'openssl'
# 単純型のデータ
x = OpenSSL::ASN1::UTF8String.new("foobar")
# 構造型のデータ
y = OpenSSL::ASN1::Sequence.new([OpenSSL::ASN1::Boolean.new(true),
OpenSSL::ASN1::Integer.new(-12)])
# APPLICATION タグクラスのタグ2番でタ......er と同じ
u.to_der # => "C\x01\x00"
# エンコードした文字列をデコード
OpenSSL::ASN1.decode(x.to_der)
# => #<OpenSSL::ASN1::UTF8String:0x000000027cc700 @tag=12, @value="foobar", @tagging=nil, @tag_class=:UNIVERSAL>
OpenSSL::ASN1.decode(y.to_der)
# => #<OpenSSL::ASN1::Sequ......000027c47d0 @tag=16, @value=[#<OpenSSL::ASN1::Boolean:0x000000027c4898 @tag=1, @value=true, @tagging=nil, @tag_class=:UNIVERSAL>, #<OpenSSL::ASN1::Integer:0x000000027c47f8 @tag=2, @value=-12, @tagging=nil, @tag_class=:UNIVERSAL>], @tagging=nil, @tag_class=:UNIVERSAL>
OpenSSL::ASN1.decode(z.to_der)... -
ruby 1
. 8 . 2 feature (18.0) -
ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。
...い。
=== 2004-11-20
: ext/nkf/nkf-utf8/ [lib] [new]
utf8 対応 nkf (nkf 2.x) の追加。
: kconv [lib] [new]
: Kconv.guess_old(str)
: Kconv.toutf8(str)
: Kconv.toutf16(str)
: String#toutf8,
: String#toutf16
: String#iseuc
: String#issjis
: String#isutf8
=== 2004-11-18
: StringIO.new [lib......ruby-1.8.1 -e 'p [nil].pack("L")'
"\000\000\000\000"
$ ruby-1.8.2 -e 'p [nil].pack("L")'
-e:1:in `pack': cannot convert nil into Integer (TypeError)
from -e:1
$ ruby-1.8.2 -e 'p [nil].pack("P")'
"\000\000\000\000"
=== 2004-10-27
: CGI [lib] [bug]
無限ル...