Oh, so this is just part of the UTF8 Lazarus f*ck-up reconstruction excercise? I appreciate that.
Excuse me?
I feel offended by that remark.
In the past we have worked very hard to have unicode support in file functions.
Before the 3.0 series compiler this was not possible using standard fpc libraries. We had to explicitely translate UTF8 encoded strings to WideString (Windows platform) just to be able to call the W-API.
This has made Lazarus unicode enabled long before the compiler helped us with that with it's codepage magic.
The "deprecated" messages is a result of sanitizing the FileUtil and LazFileUtils units, which we did long time ago (IIRC before the release of fpc 3.0).
And now we seem to be in yet anther transition where we can get rid of the UTF8 file functions alltogether in the future.
So, there probably wil be more deprecation going on in this area.
Calling this "f*ck-up" is just spiteful.
Bart