Forum > QT

Dialogs does not show non-latin chars with Qt on Darwin

<< < (2/3) > >>

zeljko:
It's not de_DE.UTF8 but de_DE.UTF-8

Bart:

--- Quote from: Ocye on September 16, 2012, 12:01:22 pm ---PS: Maybe it's an interesting fact that "with CreateMessageDialog('Bär',mtConfirmation],[mbOk]) do ShowModal" is okay.

--- End quote ---

CreateMessageDialog() doesn't use native dialog, it is a plain TForm that displays the message and the buttons, like any other LCL widget.
It is used as a fallback for widgetsets that do not provide a native dialog (like on win9x/winxp).
MessageDlg() probably calls native QT dialog, hence the difference.

Bart

zeljko:
But native dialog uses same strings translation like any other control afaik. eg.
QMessageDialog_setTitle(GetUTF8String(MyString)) is called.

Ocye:

--- Quote from: zeljko on September 16, 2012, 06:43:27 pm ---It's not de_DE.UTF8 but de_DE.UTF-8

--- End quote ---
No success. I feel stupid  %)
BTW: Lazarus itself does no show umlauts. Probably I have to blame my configuration.

zeljko:
It's really strange, I don't have such problems on mac using LANG=hr_HR.UTF-8 ...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version