Ruby: include/ruby/encoding.h File Reference

Ruby 3.3.4p94 (2024-07-09 revision be1089c8ec5ba40e09b1553e36b3174bf4014d9d)

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.