There is(was) a similar thing:
if one copy-past some output contents
with minus sign (-) into the script
editor (-) is sometimes translated
as non-ASCI dashes
Oleh
14 березня 2018, 20:11:58, від "Allin Cottrell" <cottrell(a)wfu.edu>:
On Wed, 14 Mar 2018, Sven Schreiber wrote:
> Hi,
> this is about string slicing, with snapshot March 9th:
>
> <hansl>
> string sf = sprintf("123\n456")
> print sf # correct
> eval sf[1:7] # correct
>
> sf = sprintf("123\n456§")
> print sf # correct
> eval strlen(sf) # correct
> eval sf[1:8] # stops after \n
> eval substr(sf, 1, 8) # correct
> </hansl>
>
> Just in time for release?
Yes, now fixed (bytes versus code points). Release should be tomorrow.
Allin
_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.eduhttp://lists.wfu.edu/mailman/listinfo/gretl-devel