1503件ヒット
[1501-1503件を表示]
(0.126秒)
ライブラリ
- ビルトイン (386)
- abbrev (12)
- base64 (72)
- digest (12)
-
digest
/ bubblebabble (12) - erb (48)
- etc (24)
- json (72)
- kconv (36)
- objspace (24)
- open-uri (8)
- open3 (144)
- openssl (360)
- readline (12)
- rubygems (12)
- shellwords (48)
- syslog (36)
-
webrick
/ accesslog (24) -
webrick
/ htmlutils (12) -
webrick
/ httpstatus (12) -
webrick
/ httputils (60) -
webrick
/ utils (24) -
win32
/ resolv (12) - zlib (41)
クラス
-
Win32
:: Resolv (12)
モジュール
- Abbrev (12)
- Base64 (72)
- Digest (24)
-
ERB
:: Util (48) - Etc (24)
- Gem (12)
- JSON (72)
- Kconv (36)
- Kernel (296)
- Marshal (48)
- ObjectSpace (24)
- Open3 (144)
-
OpenSSL
:: ASN1 (312) -
OpenSSL
:: PKCS5 (24) -
OpenSSL
:: Random (24) - Process (14)
- Readline (12)
- Shellwords (48)
- Signal (36)
- Syslog (36)
-
WEBrick
:: AccessLog (24) -
WEBrick
:: HTMLUtils (12) -
WEBrick
:: HTTPStatus (12) -
WEBrick
:: HTTPUtils (60) -
WEBrick
:: Utils (24) - Zlib (41)
キーワード
- BMPString (24)
- BitString (24)
- Float (12)
- GeneralString (24)
- GraphicString (24)
- IA5String (24)
- ISO64String (24)
- Integer (12)
- NumericString (24)
- OctetString (24)
- PrintableString (24)
- T61String (24)
- UTF8String (24)
- UniversalString (24)
- VideotexString (24)
- ` (12)
- abbrev (12)
- adler32 (17)
-
allocation
_ sourcefile (12) - argv0 (12)
- autoload (12)
- autoload? (12)
- bubblebabble (12)
- caller (36)
- capture2 (12)
- capture2e (12)
- capture3 (12)
- confstr (12)
-
count
_ objects _ size (12) - decode64 (12)
- deflate (12)
- dump (24)
- encode64 (12)
- escape (36)
- escape8bit (12)
-
escape
_ path (12) - facility (12)
-
fast
_ generate (12) -
fast
_ unparse (12) - format (24)
- generate (12)
-
get
_ hosts _ path (12) - getservername (12)
- gsub (36)
- h (12)
- hexencode (12)
-
html
_ escape (12) - ident (12)
- inflate (12)
- isjis (12)
- kconv (12)
- load (12)
-
marshal
_ version (12) -
mime
_ type (12) - open (8)
-
pbkdf2
_ hmac (12) -
pbkdf2
_ hmac _ sha1 (12) - pipeline (12)
-
pipeline
_ r (24) -
pipeline
_ rw (24) -
pipeline
_ start (24) -
pipeline
_ w (24) -
pretty
_ generate (12) -
pretty
_ unparse (12) -
pseudo
_ bytes (12) -
random
_ bytes (12) -
random
_ string (12) - readline (24)
- readlines (12)
-
reason
_ phrase (12) - restore (12)
- shellescape (12)
- shelljoin (12)
- shellsplit (12)
- shellwords (12)
- signame (12)
- sprintf (12)
-
strict
_ decode64 (12) -
strict
_ encode64 (12) - sub (24)
- tolocale (12)
-
trace
_ var (36) - trap (48)
- u (12)
- uname (12)
- unescape (12)
- unparse (12)
-
untrace
_ var (12) -
url
_ encode (12) -
urlsafe
_ decode64 (12) -
urlsafe
_ encode64 (12) - warmup (2)
検索結果
-
Kconv
. # isjis(str) -> bool (13.0) -
文字列 str が ISO-2022-JP なバイト列として正当であるかどうかを判定します。
...るかどうかを判定します。
@param str 判定対象の文字列
@see String#isjis
//emlist[例][ruby]{
require 'kconv'
euc_str = "\
\xa5\xaa\xa5\xd6\xa5\xb8\xa5\xa7\xa5\xaf\xa5\xc8\xbb\xd8\xb8\xfe\
\xa5\xd7\xa5\xed\xa5\xb0\xa5\xe9\xa5\xdf\xa5\xf3\xa5\xb0\xb8\xc0\xb8\xec\
\x52\x75\x62\x79......coding('EUC-JP')
jis_str = "\
\x1b\x24\x42\x25\x2a\x25\x56\x25\x38\x25\x27\x25\x2f\x25\x48\x3b\x58\x38\x7e\
\x25\x57\x25\x6d\x25\x30\x25\x69\x25\x5f\x25\x73\x25\x30\x38\x40\x38\x6c\x1b\x28\x42\
\x52\x75\x62\x79".force_encoding('ISO-2022-JP')
euc_str.isjis # => false
jis_str.isjis # => true
//}...