How do I prevent the warning "unicode constant cast with potential data loss" in Lazarus?

Viewed 196

I'm trying to assign the Tricolon Unicode character #$205D as the caption to a button in a Lazarus Windows program like this:

MyButton.Caption := #$205D;

It works, the button displays the Tricolon fine, but the compiler emits the warning "Warning: Unicode constant cast with potential data loss".

How do I correctly assign the Tricolon character to the caption of an LCL control to get rid of the warning?

2 Answers
Related