Hello guys,
In the https server demo I see the function:
function URLDecode(S : String) : String;
var
I : Integer;
Ch : Char;
begin
Result := '';
I := 1;
while (I <= Length(S)) and (S[I] <> '&') do begin
Ch := S[I];
if Ch = '%' then begin
Ch := chr(htoi2(@S[I + 1]));
Inc(I, 2);
end
else if Ch = '+' then
Ch := ' ';
Result := Result + Ch;
Inc(I);
end;
end;
Is this up to date with UTF-8? IIRC, Arno fixed a bug in html/http/url
decode/encode for ICSv7/Unicode. Is this that function?
Regards,
SZ
On Mon, Nov 24, 2008 at 2:06 PM, Francois Piette
<[EMAIL PROTECTED]>wrote:
> > I want to make a web-based controller interface for one of our projects.
> Is
> > there a starting point you know? I know I need to prepare HTML and then
> > input it to web server and then extract variables in POST
>
> Just use the WebServ demo included with ICS. It has dynamic pages from
> templates, data entry form, data storage and others. That is a very good
> starting point.
>
> Look at the Delphi version which is much better than C++ one.
>
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> http://www.overbyte.be
>
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be