str:=#0+'9'+#0+'5'+#0+'8'+'~'+#207+'m'+'N' 是 '958经济'的unicode编码
请问怎么转换成普通的char编码
请问怎么转换成普通的char编码
解决方案 »
- 請教post,applyUpdates,commitUpdates,Commit的区别,最好有代码证明
- 这个SQL语句该如何写
- delphi程序报错 expected '=' but '(' found 在线等
- 子窗体问题,请各位达人帮帮忙:访问子窗体中的控件报错
- 开发好的EXE颜色问题
- 使用installshield制作安装程序,如何判断系统是否安装了msxml3;如果没安装,如何在安装完程序后再安装msxml3
- 新手:怎样让progressbar伴随程序显示进度
- 发分贴2!(-------程序员好书征集贴的副贴-------)
- 如何去除空格
- 绝对高分 可惜我的分不多 全给了
- 初学者的数据库连接问题,非常急!!!!!!!!!!!!!!!
- 如何用将RichEdit 里的数据存入MS-SQL的VarChar字段里?急
function UnicodeToUtf8(Dest: PChar; Source: PWideChar; MaxBytes: Integer): Integer;overload
; deprecated;DescriptionCall UnicodeToUtf8 to convert a Unicode string to a null-terminated sequence of UTF-8 characters.Dest receives the resulting null-terminated array of UTF-8 characters.MaxDestBytes or MaxBytes indicates the number of bytes available in the buffer specified by Dest, not counting the byte for the null terminator. Source is an array of Unicode characters.SourceChars is the number of characters in Source. If SourceChars is not specified, Source must be null-terminated.UnicodeToUtf8 returns the number of bytes written to Dest.
我也看到了这个,正在试着怎么用呢
UnicodeToUtf8(Pchar(Buffers[n].Msg_Content[i]),PWideChar(RecInfo^.Msg_Content[i]),160)
可不知道怎么用,请指教