[fpc-devel] Possible issue with 2.7.1 string encodings

2013-08-25 Thread Martin
I suspect this to be an issue with the new 2.7.1 encoding. If someone could please review... Some background fist. I was looking into a report of a user, where the IDE (Lazarus) would not show the debug-line-info (blue dots in gutter), for some files (but work for others) fpc svn 25364

Re: [fpc-devel] Possible issue with 2.7.1 string encodings

2013-08-25 Thread Paul Ishenin
25.08.13, 20:44, Martin пишет: To find some info I added debugln as follows. Note the part PInteger(ASource)[0], // just some part of the string, for verification PInteger(ASource)[1], // on 2.7.1 Encoding ? // on 2.6.2 length PInteger(ASource)[-2] // on 2.7.1 length // on 2.6.2 ref

Re: [fpc-devel] Possible issue with 2.7.1 string encodings

2013-08-25 Thread Martin
On 25/08/2013 14:11, Paul Ishenin wrote: 25.08.13, 20:44, Martin пишет: To find some info I added debugln as follows. Note the part PInteger(ASource)[0], // just some part of the string, for verification PInteger(ASource)[1], // on 2.7.1 Encoding ? // on 2.6.2 length argh 1 ... a mistake,