language - 编码转换插件
概述
本插件主要为程序转换编码。
功能使用说明
language为编码转换插件,其功能有:
- 提供utf8字符串相关的操作接口
- 提供输入/输出编码转换的接口
utf8字符串操作
array language.break_utf8(string utf8_str)
string language.combine_utf8(array unicodes)
int language.strwidth(string str, string encoding) // Get the width of string by specified encoding