Hi GetMem,
Thanks for MessageDlgEx() example. I believe my source file is utf-8 encoded as below
pi@raspberrypi:~ $ file -bi uusb.pas
text/plain; charset=utf-8
pi@raspberrypi:~ $
I also have same problem with TextFile writes. When I open utf-8 encoded text file written by the application using string literals, I see national characters are not correct. Oddly enough, I dicovered that I have working portions of the application such as messages displayed from my data module seems to be fine.
I did not have such a problem before. I do not know if it is me constantly adding new forms and units which at some point making compiler to do odd things, or something completely different.