Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/NKF/guess1-c.yaml |
--- !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