Ruby: include/ruby/encoding.h File Reference

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

encoding.h File Reference

Encoding relates APIs. More...

`#include "ruby/ruby.h"`
`#include "ruby/internal/encoding/coderange.h"`
`#include "ruby/internal/encoding/ctype.h"`
`#include "ruby/internal/encoding/encoding.h"`
`#include "ruby/internal/encoding/pathname.h"`
`#include "ruby/internal/encoding/re.h"`
`#include "ruby/internal/encoding/sprintf.h"`
`#include "ruby/internal/encoding/string.h"`
`#include "ruby/internal/encoding/symbol.h"`
`#include "ruby/internal/encoding/transcode.h"`

Go to the source code of this file.

## Detailed Description

Encoding relates APIs.

Author

Author
  matz

Date
  Thu May 24 11:49:41 JST 2007

Copyright
  Copyright (C) 2007 Yukihiro Matsumoto
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

These APIs are mainly for implementing encodings themselves. Encodings are built on top of Ruby's core CAPIs. Though not prohibited, there can be relatively less rooms for things in this header file be useful when writing an extension library.

Definition in file encoding.h.