Your IP : 3.22.74.192
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns guessed encoding of <em>str</em> as integer.
- !ruby/struct:SM::Flow::P
body: "Algorithm described in: Ken Lunde. `Understanding Japanese Information Processing' Sebastopol, CA: O'Reilly & Associates."
- !ruby/struct:SM::Flow::VERB
body: " case NKF.guess1(input)\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::UNKNOWN\n "UNKNOWN(ASCII)"\n when NKF::BINARY\n "BINARY"\n end\n"
full_name: NKF::guess1
is_singleton: true
name: guess1
params: |
NKF.guess1(str) -> integer
visibility: public