On 11 Nov 2008, at 10:48, Michael Schnell wrote:

Moreover, IMHO, it should be configurable if in "D2009 compatible mode", with s[i], length(s), pos(), copy, delete(), ..., Strings are counted in subcodes (fast behavior) or in "whatever mode" they are counted in characters ("friendly old school behavior")

It will at best be "friendly old school behaviour which works most of the time, but which fails as soon as the strings are not completely normalised because then you can have decomposed characters and whatnot" (which in turn easily leads to security holes due to incomplete checks, hard to reproduce bugs and "write once, debug everywhere"-style behaviour).


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to