Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/Iconv/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Document-method: Iconv#iconv" - !ruby/struct:SM::Flow::P body: Converts string and returns the result. - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: If <tt>str</tt> is a String, converts <tt>str[start, length]</tt> and returns the converted string. - !ruby/struct:SM::Flow::LI label: "*" body: If <tt>str</tt> is <tt>nil</tt>, places converter itself into initial shift state and just returns a string containing the byte sequence to change the output buffer to its initial shift state. - !ruby/struct:SM::Flow::LI label: "*" body: Otherwise, raises an exception. type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Parameters - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "str:" body: string to be converted, or nil - !ruby/struct:SM::Flow::LI label: "start:" body: starting offset - !ruby/struct:SM::Flow::LI label: "length:" body: conversion length; nil or -1 means whole the string from start type: :NOTE - !ruby/struct:SM::Flow::H level: 3 text: Exceptions - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: IconvIllegalSequence - !ruby/struct:SM::Flow::LI label: "*" body: IconvInvalidCharacter - !ruby/struct:SM::Flow::LI label: "*" body: IconvOutOfRange type: :BULLET - !ruby/struct:SM::Flow::H level: 3 text: Examples - !ruby/struct:SM::Flow::P body: See the Iconv documentation. full_name: Iconv#iconv is_singleton: false name: iconv params: " iconv(str, start=0, length=-1)\n" visibility: public