cPanel API 2 Modules - Encoding
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Encoding module looks up a file's text encoding.
Available functions
-
cPanel API 2 Functions -
Encoding::get_encodings
— This function retrieves a list of available file character encodings . -
cPanel API 2 Functions -
Encoding::guess_file
— This function attempts to retrieve a file's character encoding . -
cPanel API 2 Functions -
Encoding::guess_file_opts
— This function retrieves a file's encoding and a list of all cPanel-supported character encodings .