Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-07 Thread Mattias Gaertner
On Sat, 7 Nov 2015 06:25:45 +0100 fecske fecske wrote: > I use CodeTyphon (ver 5.60 revision 005512) with Lazarus SVN Rev 50211 > I changed it here in the lcsvutils.pas line 193 > (System.Move(leadPtr^,W[1],length(W)*2);) and I compiled in the my > project. > > You fixed a

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread fecske fecske
I use CodeTyphon (ver 5.60 revision 005512) with Lazarus SVN Rev 50211 I changed it here in the lcsvutils.pas line 193 (System.Move(leadPtr^,W[1],length(W)*2);) and I compiled in the my project. You fixed a month ago is in the Lazarus Revision 50146 On Fri, Nov 6, 2015 at 3:15 PM, Mattias

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 14:55:14 +0100 fecske fecske wrote: > I was fixed this line in my lcsvutils.pas and the problem with lines > It has been okay. > System.Move(leadPtr^,W[1],length(W)*2); > > And the last line of strange characters It is still not ok... >

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread fecske fecske
On Fri, Nov 6, 2015 at 9:15 AM, fecske fecske wrote: > On Thu, Oct 22, 2015 at 11:37 PM, Mattias Gaertner > wrote: >> The UTF16 conversion was wrong. It was missing the ending #0 wide char. >> I fixed that in revision 50146. >> Mattias Sorry this

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread fecske fecske
I was fixed this line in my lcsvutils.pas and the problem with lines It has been okay. System.Move(leadPtr^,W[1],length(W)*2); And the last line of strange characters It is still not ok... https://youtu.be/5US9mdUxSm4 On Fri, Nov 6, 2015 at 1:05 PM, Mattias Gaertner

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-11-06 Thread Mattias Gaertner
On Fri, 6 Nov 2015 09:15:31 +0100 fecske fecske wrote: >[...] > I could now test the Lazarus SVN Rev 50211 > Unfortunately, I experience the same problem. > https://youtu.be/0OdBpKAwXGM > > I use it 'tab' delimiter #9. > > Here's the code: > procedure

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread fecske fecske
Lazarus SVN Rev 49771 (embed in CpdeTyphon 5.5 r49844 with FPC 3.1.1) and csv in the attache On Thu, Oct 22, 2015 at 9:14 PM, Jesus Reyes A. wrote: > On Thu, 22 Oct 2015 12:13:17 -0500, fecske fecske > wrote: > > I like to use the

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread Mattias Gaertner
On Thu, 22 Oct 2015 19:13:17 +0200 fecske fecske wrote: > I like to use the StringGrid1.LoadFromCSVFile() function. > It works but also randomly ​set to a last line of strange characters > > ​ > In the CSV file normail view are not these characters. I checked csv files > in

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread Jesus Reyes A.
On Thu, 22 Oct 2015 12:13:17 -0500, fecske fecske wrote: I like to use the StringGrid1.LoadFromCSVFile() function. It works but also randomly ​set to a last line of strange characters .. In the CSV file normail view are not these characters. I checked csv files in hex

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread fecske fecske
I patch the lcsvutils.pas file based on LoadFromCSVStream: quote from here: https://github.com/graemeg/lazarus/commit/90eaed173991cdb8f8209726a71081299833392d I compiled it in the ide but the problem still remains... this video presents the phenomenon https://youtu.be/GLXUkcrA-AA On Thu, Oct

Re: [Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread Mattias Gaertner
On Thu, 22 Oct 2015 23:18:58 +0200 fecske fecske wrote: > I patch the lcsvutils.pas file based on LoadFromCSVStream: quote from here: > https://github.com/graemeg/lazarus/commit/90eaed173991cdb8f8209726a71081299833392d > > I compiled it in the ide but the problem still

[Lazarus] StringGrid1.LoadFromCSVFile problem

2015-10-22 Thread fecske fecske
I like to use the StringGrid1.LoadFromCSVFile() function. It works but also randomly ​set to a last line of strange characters ​ In the CSV file normail view are not these characters. I checked csv files in hex viewer and are not these characters. I did a test, I wrote a Delphi code in a