#include <revolution/enc.h> ENCResult ENCGetExternalEncoding(const ENCContext* context, u8* encoding);
| context | Character code conversion context. |
|---|---|
| encoding | Character string expression of the external character encoding name. |
ENC_OK: Normal exit.ENC_ERR_INVALID_PARAM: Invalid argument.ENC_ERR_UNKNOWN_ENCODING: Unknown character encoding.
Gets an external character encoding name as a string from a character code conversion context.
Refer to the ENC API Introduction for details on supported character encodings.
The maximum character string length including the character encoding name termination character is defined as ENC_ENCODING_NAME_LENGTH.
ENC API Introduction
ENCSetExternalEncoding
2008/07/08 Added an explanation and link related to supported character encodings.
2006/10/19 Initial version.
CONFIDENTIAL