D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
NKF
/
Filename :
guess2-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns guessed encoding of <em>str</em> as integer by nkf routine. - !ruby/struct:SM::Flow::VERB body: " case NKF.guess(input)\n when NKF::ASCII\n "ASCII"\n when NKF::JIS\n "ISO-2022-JP"\n when NKF::SJIS\n "Shift_JIS"\n when NKF::EUC\n "EUC-JP"\n when NKF::UTF8\n "UTF-8"\n when NKF::UTF16\n "UTF-16"\n when NKF::UNKNOWN\n "UNKNOWN"\n when NKF::BINARY\n "BINARY"\n end\n" full_name: NKF::guess2 is_singleton: true name: guess2 params: | NKF.guess2(str) -> integer visibility: public