INDY10 IDHTTPSERVER返回中文不乱码
INDY10 IDHTTPSERVER返回中文不乱码
procedure TynHttpServer.CommandGet(AContext: TIdContext; ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo);
begin
AResponseInfo.ContentType := 'text/html; charset=GB2312';
AResponseInfo.WriteContent;
end;
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/9661289.html

浙公网安备 33010602011771号