TdbMemo does not use property Field.Text to get and store its User interface Text.
Original Reporter info from Mantis: BrunoK
-
Reporter name:
Original Reporter info from Mantis: BrunoK
- Reporter name:
Description:
Lazarus UI is UTF-8, TMemoFields in some tables are CP_1252.
OnGetText and OnSetText for TMemoFields should be called by
function TField.GetEditText: String;
procedure TField.SetEditText(const AValue: string);
so it is possible to do the correct CodePoint conversions regarding the textual/storage representation.
Additional information:
My FPC/lazarus combination is something like 3.0.4 and an old svn 1.9. They work so I wont upgrade.
Mantis conversion info:
- Mantis ID: 33498
- OS: windows
- OS Build: 10
- Build: Dont know
- Platform: win32
- Version: 1.9 (SVN)
- Fixed in revision: r57598 (#aef943e5)
- Monitored by: » alexs75 (Lagunov Aleksey)