PHP 8.2.31
Preview: new-c.yaml Size: 1.06 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Iconv/Failure/new-c.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates new code converter from a coding-system designated with <tt>from</tt> to another one designated with <tt>to</tt>.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "+to+:"
    body: encoding name for destination
  - !ruby/struct:SM::Flow::LI 
    label: "+from+:"
    body: encoding name for source
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Exceptions
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "TypeError:"
    body: if <tt>to</tt> or <tt>from</tt> aren't String
  - !ruby/struct:SM::Flow::LI 
    label: "InvalidEncoding:"
    body: if designated converter couldn't find out
  - !ruby/struct:SM::Flow::LI 
    label: "SystemCallError:"
    body: if <tt>iconv_open(3)</tt> fails
  type: :NOTE
full_name: Iconv::Failure::new
is_singleton: true
name: new
params: " Iconv.new(to, from)\n"
visibility: public

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
451 B lrw-r--r-- 2023-07-26 13:47:04
Edit Download
327 B lrw-r--r-- 2023-07-26 13:47:04
Edit Download
317 B lrw-r--r-- 2023-07-26 13:47:04
Edit Download
1.06 KB lrw-r--r-- 2023-07-26 13:47:04
Edit Download
585 B lrw-r--r-- 2023-07-26 13:47:04
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).