Strange Data / Big Data

  • Hello i have an other problem - don't know how to handle it - sometime really rare, i get very big data in the WPTools Data
    mostly in the Stylesheet for the numberstyle - the WPData is 60-300MB big wasted with strange data ....
    Openingthe data works, saving the data works - the strange data remains still after load and save.

    Can you point me in the right direction from where the wrong data comes?

    Code
    <!WPTools_Format V=700/>
    <GlobalPageFormat wpcss="landscape:0;paperw:11906;paperh:16838;margr:1880;margl:1880;margt:1440;margb:1440;marg_header:720;marg_footer:720;deftabstop:720;marginmirror:0;"/><StandardFont wpcss="CharFont:'Arial';CharFontSize:1100;"/>
    <numberstyles><nstyle id=185 wpsty=[[NumberMode:24;NumberINDENT:360;CharFont:'Wingdings 2';NumberTEXTB:'ÃÃâ€&nsp;’Ãâ€&amp;nsp;’Ãâ€&amp;nsp;’ÃÃâ€&nsp;’â€&amp;nsp;’ÃÃâ€&nsp;’Ãâ€&amp;nsp;’â€&amp;nsp;ÃÃâ€&nsp;’¢â‚¬ÃÆâ€
    • Offizieller Beitrag

    If you have the pro version you can put in a check to restrict the length of the numbertext

    else if Typ in [WPAT_NumberTEXTB, WPAT_NumberTEXTA, WPAT_NumberTEXT]
    then
    begin
    st := ANumberToString(Val);
    if Length(st)>MAXNUMTEXTLEN then
    SetLength(st, MAXNUMTEXTLEN );
    str.Append('''' + st + '''');
    end