How do you build mSentCommand ? You need to post more code, only this part is not enough.
In general you need to remember that the FCL RTL uses Ansi strings, which are not unicode, and the LCL uses UTF-8, so the LCL fully supports Unicode. I am not saying that this is the problem in this case, because there is not enough code to say it for sure.
Lazarus already provides almost everything you could need for Unicode support, however, so it is not a problem to build fully unicode programs with Lazarus. The LCL duplicates some parts of the RTL in order to get unicode support, just like processutf8 does.