• I can't find a way to save Unicode (or UTF8) HTML.

    For plain text using SaveToStream(lFlux,'UNICODE'); works. But for HTML the only way I found is to add the following lines to WPRETDefs.pas line 53030 :

    if pos('-unicode', optstr) > 0 then
    FOptUnicode := TRUE;

    and use

    SaveToStream(lFlux,'HTML-unicode');

    is there a way to achieve the same thing without modifying the source ('HTML-utf8') does work for reading but not for writing.

    cyril