Delphi Error – E2452 Unicode characters not allowed in published symbols

Delphi Compiler Error

E2452 Unicode characters not allowed in published symbols

Reason for the Error & Solution

The VCL Run-Time Type Information (RTTI) subsystem and the streaming of DFM files require that published symbols are non-Unicode (ANSI) characters. Consider whether this symbol needs to be published, and if so, use ANSI characters instead of Unicode.