I want to display a formula in a label that goes like:
|delta X| = (G - S + F)
where the word delta in the above should actually be the upper case greek letter delta (which looks like a triangle). I tried to use GnuGetText for Delphi to translate it like this but it came out as a question mark:
|? X| = (G - S + F)
Since Gorm (which is written with Delphi XE) displays the strings correctly, I guess a unicode aware Delphi version would be a solution. Unfortunately I can't go that way because this would break existing code.
Another solution would be a picture of the the formula which would avoid the issue.
Are there any other options?
One option is using a font that supports Greek charset
Label1.Font.Name := 'Tahoma'; // Arial, Verdana ... one that supports Greek charset
Label1.Font.Charset := GREEK_CHARSET;
Label1.Caption := '|'#196'X| = (G - S + F)'