Форма находится на стороннем сервере [кодировка UTF-8]..
Отправляю так:
program sendtosite;
uses proweb;
var
fld, ind: integer;
btn, clicked: command;
begin
ClearForm;
ShowForm;
SetFormTitle('Отправка');
fld:=formAddTextField('Текст:', '', 100, TF_ANY);
btn:=CreateCommand('OK', CM_SCREEN, 1);
AddCommand(btn);
repeat
clicked := GetClickedCommand;
until clicked <> EmptyCommand;
q_property('Accept', '*/*');
q_property('Content-Type', 'application/x-www-form-urlencoded');
q_property('User-Agent', 'myprog');
ind:=q_request('http://сайт.ру/index.php', POST, 'string='+FormGetText(fld), 'none');
end.
Возращает строку "Булка.", как "?????."
Что не так?