On 10/24/2018 05:42 PM, Juha Manninen via Lazarus wrote: > On Wed, Oct 24, 2018 at 10:16 PM Brian via Lazarus > <lazarus@lists.lazarus-ide.org> wrote: >> ... and errors from deep inside code libraries tend to throw me, >> especially when it's object oriented code (yes, I'm that old). > > ValidUTF8String and Utf8EscapeControlChars are global functions. > Nothing object oriented there. :) >
I know. I was talking generally, not about this specific problem. > Looking at the code, ValidUTF8String was first renamed + deprecated > and then removed for a reason. The name is misleading. Sounds like it > checks the validity of a string while actually it escapes control > chars. The new name is good and descriptive. > I'm still not sure where the unit came from. I admit that I have some rather old source code on this PC, but the only place I have my old Delphi 7 setup is inside an XP virtual machine. Brian. -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus