[Lazarus] Charset in TSdfDataSet

waldo kitty wkitty42 at windstream.net
Thu Sep 6 17:38:52 CEST 2012

On 9/6/2012 06:49, GLBX wrote:
> Right !
> with Textout, I get accents correctly
> but... when I post the changes, now, I get the problem
> Originally DAMMANS
> Changed to DéMMANS
> Display after editing
> DéMMANS (coorect)

ok... looks fine...

> Saved in the CSV file as !!!!!

that is UTF8 encoding of the "é" character...

> and...
> when I display after new loading :
> DéMMANS (!!!!?!?!?!)

that is proper...

> Oups !!

can't you convert the text back to CP1252 before writing it to the CSV?? it 
would seem that that's what you are wanting to do...

More information about the Lazarus mailing list