On 2017-11-17 00:57, Zoë Peterson via Lazarus wrote:
On 11/16/2017 4:25 AM, Torsten Bonde Christiansen via Lazarus wrote:
Does Lazarus or FPC include other convinient tools that may detect
the encoding of (the content of) a file?
What do others do in this situation?
If you need
Pls see and apply it, posted long ago:
https://bugs.freepascal.org/view.php?id=27194
--
Regards,
Alexey
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
On 11/16/2017 4:25 AM, Torsten Bonde Christiansen via Lazarus wrote:
Does Lazarus or FPC include other convinient tools that may detect the
encoding of (the content of) a file?
What do others do in this situation?
If you need cross-platform, this works with some trivial changes:
El 16/11/17 a les 16:28, Luca Olivetti via Lazarus ha escrit:
Is there a way to control the position of the selected row in a TDBGrid?
With a TStringGrid you can control it with TopRow, but TDBGrid has no
such property and I couldn't find a way to do what I want.
I understand that TopRow
Is there a way to control the position of the selected row in a TDBGrid?
With a TStringGrid you can control it with TopRow, but TDBGrid has no
such property and I couldn't find a way to do what I want.
I understand that TopRow wouldn't make sense in a DBGrid, but I need the
same
On Thu, 16 Nov 2017 14:02:57 +0300
Alexey via Lazarus wrote:
> >What do others do in this situation?
>
> I use
> https://github.com/Alexey-T/ATSynEdit/blob/master/atsynedit/atstringproc_utf8detect.pas
That's checking if a zeroed string is valid UTF-8.
El 16/11/2017 a las 11:25, Torsten Bonde Christiansen via Lazarus escribió:
Hi List.
I am reading some text of some .csv files, but the encoding of the files
is not always the same. In fact it may vary greatly from a lot of
european encodings, UTF8 and asian encoding.
Hello,
Some years
>What do others do in this situation?
I use
https://github.com/Alexey-T/ATSynEdit/blob/master/atsynedit/atstringproc_utf8detect.pas
--
Regards,
Alexey
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
Hi List.
I am reading some text of some .csv files, but the encoding of the files
is not always the same. In fact it may vary greatly from a lot of
european encodings, UTF8 and asian encoding.
I have tried using the function GuessEncoding(..) in LConvEncoding.pas,
but from the source code I