Expand description
编码
Functions§
- a_
auto_ decode_ file - Asynchronously reads a file and automatically decodes its content.
- auto_
decode - Automatically detects encoding and decodes the input byte sequence.
- auto_
decode_ all - Automatically detects encoding and decodes the input byte sequence.
- auto_
decode_ file - Synchronously reads a file and automatically decodes its content.
- auto_
decode_ simple - Automatically detects encoding and decodes the input byte sequence.
- check_
bom - 内联 BOM 检查,避免额外的函数调用
- get_
lang - 获取当前语言
- get_
lang_ encoding - 获取语言编码
- is_
garbled - 检查是否为乱码
- is_utf8
- 检查是否为 UTF-8 编码