Problems with german Umlaute (?¤,?¶,??) when loading from Stream
i have Report that works fine.
Now I am trying to load my Report from Database and not from *.fr3 file.
I copied the XML Code from my *.fr3 file into a Memo-field (MS_Access).
This code works fine.
The code works fine, but Reportfields with german Umlaute (?¤,?¶,u) are empty.
Example from the XML Code in the Reportfile.
<TfrxMemoView Name="mmUeberschriftPeriodizitaet" Left="491" Top="79,08658" Width="119" Height="18" ShowHint="false" Color="15263976" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Times New Roman" Font.Style="1" Frame.Typ="2" GapX="12" ParentFont="false" Text="Periodizit?¤t"/>
When i change Text="Periodizit?¤t" into Text="Periodizitat" it works. Text="Periodizit&'#228;'t" do not work either.
Any solution? Again: When loading from file, everything is ok.
Now I am trying to load my Report from Database and not from *.fr3 file.
I copied the XML Code from my *.fr3 file into a Memo-field (MS_Access).
This code works fine.
// Get the Report
AnsiString Skript = dmStammdaten->GetSkript(ID_SKRIPT_MODULKATALOG);
// Load into the Stream
TStringStream* strm = new TStringStream(Skript);
// Load Report
frxReport->LoadFromStream(strm);
//delete Stream
delete strm;
The code works fine, but Reportfields with german Umlaute (?¤,?¶,u) are empty.
Example from the XML Code in the Reportfile.
<TfrxMemoView Name="mmUeberschriftPeriodizitaet" Left="491" Top="79,08658" Width="119" Height="18" ShowHint="false" Color="15263976" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Times New Roman" Font.Style="1" Frame.Typ="2" GapX="12" ParentFont="false" Text="Periodizit?¤t"/>
When i change Text="Periodizit?¤t" into Text="Periodizitat" it works. Text="Periodizit&'#228;'t" do not work either.
Any solution? Again: When loading from file, everything is ok.