On Fri, 17 Jul 2020, Luca Olivetti via lazarus wrote:

El 17/7/20 a les 11:46, Luca Olivetti via lazarus ha escrit:


In fact, if you look at the bug report, it's enough to use the old version of Fielddefs.Add (i.e. the one without the encoding) to "fix" the problem, but it's not because of the default (I changed it to 'utf-8', or maybe it's actually 'utf-8' that causes the problem).

Yes, setting it to '437' or 'iso8859-1' avoids the segfault.

Haha... The mystery is unraveling :-)

Note that these are single-byte codepages.
Are you using fixed-length of CSV ? Because in the case of fixed-length,
UTF8 makes no sense...

Michael.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to