时间:2021-07-01 10:21:17 帮助过:2人阅读
StringToWideChar(Str, l_WideString, l_Length);
Result := Utf8Encode(Str);
GetMem(l_WideString, 0);
end;
end;
//其中的StringToWideChar和Utf8Encode在D7的System单元中自带.简单,方便.
http://www.cnblogs.com/qiubole/archive/2007/11/07/951807.html
SQLite 对中文路径的支持(用到了StringToWideChar和Utf8Encode在D7的System单元中自带)
标签: