main 3.3.1 does the same thing. But are you sure its an error ? I'd see the 'for' pulling first lump out of the string, getting a AnsiChar and finding it cannot copy that into the UCS4Char. And thats what it says ?
Actually yes, you are right. There is logic in that message.