More accurately, I want to check {$ModeSwitch UnicodeStrings}. Anyway, if there is no define, I can use: {$IF SizeOf(Char) = 2} Works well although the highlighter in Lazarus editor shows it wrong. Juha