this is a typicall problem with (A)nsi and (W)ide String Member Functioions - like you know the so called A and W Function's.
E.g. MessageBoxA(0, L'test', L'test', 0); // result in 0-String (no text display)
E.g. MessageBoxW(0, 'test', 'test', 0); // result in Japanese Strings
MessageBoxA(0, PChar('test'), PChar('test'), 0); // result is Ok - test will display.