2013年9月20日

Delphi Base64 编解码函数

摘要: Delphi 自带 Base64 编解码的单元, EncdDecd这个单元提供两套四个公开函数:对流的编解码:procedure EncodeStream(Input, Output: TStream); // 编码procedure DecodeStream(Input, Output: TStream); // 解码// 对字符串的编解码:function EncodeString(const Input: string): string; // 编码function DecodeString(const Input: string): string; // 解码 阅读全文

posted @ 2013-09-20 15:15 Delphi XE5 阅读(3926) 评论(0) 推荐(0) 编辑

delphi的UTF8相关函数

摘要: delphi的UTF8相关函数AnsiToUtf8 functionConverts a string encoded in Ansi to UTF-8.PUCS4Chars functionConverts a UCS4 string to a null-terminated array of UCS4 characters.StringToWideChar functionReturns a UNICODE string from an AnsiString.UCS4StringToWideString functionConverts a string of 4-byte Unicode 阅读全文

posted @ 2013-09-20 08:39 Delphi XE5 阅读(2078) 评论(0) 推荐(0) 编辑

导航