I am developping an Android application using C++ Builder 10.1 Berlin. As I create this app for a French company, I would like to display accent. For example, I have a String Grid with an Header text "Libellé". So I wrote this header title like this:
StringGrid1->ColumnByIndex(0)->Header = "Libellé"
You have to define the string literal as a wide literal (using
wchar_t characters), not a narrow literal (using
char characters). Prefix the literal with
L to make it wide:
StringGrid1->ColumnByIndex(0)->Header = L"Libellé";