Bug with unicode delphi 2009
Posted: Wed 22 Apr 2009 13:48
the unicodes char get lost in translation....
I could not find an option useunicode=true like in a DBconnection
and ftwidestring does not cut it
Edit1.Text := '6. Modéré';
VirtualTable1.Active := True;
VirtualTable1.Clear;
VirtualTable1.Insert;
VirtualTable1.Fields[0].Value := Edit1.Text ;
// of ftstring type if use ftwidestring it does not work at all
VirtualTable1.Post;
the accents are lost and it shows or read: 6. Modere
which is not good if you are looking a unicode file names like Itunes..
Or I am missing something... an option
I could not find it..any ideas thanks
regards
Philippe
I could not find an option useunicode=true like in a DBconnection
and ftwidestring does not cut it
Edit1.Text := '6. Modéré';
VirtualTable1.Active := True;
VirtualTable1.Clear;
VirtualTable1.Insert;
VirtualTable1.Fields[0].Value := Edit1.Text ;
// of ftstring type if use ftwidestring it does not work at all
VirtualTable1.Post;
the accents are lost and it shows or read: 6. Modere
which is not good if you are looking a unicode file names like Itunes..
Or I am missing something... an option
I could not find it..any ideas thanks
regards
Philippe