天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
字符串
>
多语言支持函数
UnicodetoUTF8
复制链接
简述
Unicode串转为UTF8串。天软字符串前加L表示宽字节字符串,即Unicode串。
定义
UnicodetoUTF8(S:String):String;
参数
名称
类型
说明
S
String
字符串,Unicode编码字符串。
返回
String
字符串,UTF8编码字符串。
范例
return unicodetoutf8(L'2020 Tinysoft 天软科技');
//返回:2020 Tinysoft 澶╄蒋绉戞妧
相关
AnsiPos
ByteType
ByteToCharLen
CharToByteLen
ByteToCharIndex
CharToByteIndex
CharLength
NextCharIndex
AnsiQuotedStr
AnsiDequotedStr
AnsiToUTF8
UTF8ToAnsi
UnicodeESC
unUnicodeESC
MultibyteToUnicode
UnicodeToMultiByte
LCMapString
MakeLCID
unUnicodeESC2
unUnicodeESC2w
UnicodeESC2
unUnicodeESCw
Strw
CurrtoStrw
FloattoStrw
MultibytetoUnicodew
UnicodetoUTF8
UTF8toUnicode
Inttohexw
Inttostrw
Ifwstring
Booltostrw2
Booltostrw
Exportjsonstring
Importjsonstring
ExportJsonStringUTF8
ExportJSONStringMBCS