- 人气:
- 放大
- 缩小
- 二维码
- 赞赏
TIdHTTPResponseInfo 中文乱码问题解决
procedure TFm_Main.onCommandGet(AContext: TIdContext; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
begin
AResponseInfo.ContentType := 'text/html';
AResponseInfo.CharSet := 'UTF-8';
AResponseInfo.ContentText := '我是中文';
end;