Current Path : /usr/local/share/ri/1.8/system/NKF/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/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