Hi,
In 2008 there was a thread about FPC and Unicode resoure strings with the conclusion that FPC does not support them.
Has the situation changed in the meantime?
Does anybody know if Delphi supports Unicode resource strings?
Thanks, Martin

Mailing lists / fpc-devel / 2011-04
5 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
In 2008 there was a thread about FPC and Unicode resoure strings with the conclusion that FPC does not support them.
Has the situation changed in the meantime?
Does anybody know if Delphi supports Unicode resource strings?
Thanks, Martin
No: http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=6477
Jonas
In 2008 there was a thread about FPC and Unicode resoure strings with the conclusion that…
AFAIK Delphi uses Windows string resources, which are UTF-16. This convention allows to patch or edit the resources with standard resource editors, and to share resources across applications.
DoDi
No: http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=6477 Jonas
What do you suggest as a replacement of Unicode resource strings? MSEide+MSEgui has the localisation tool MSEi18n which exports the form resources and resource strings to a dll/so which can be switched on runtime. Although because of FPC bug
http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=18831 it can be switched only once on Linux...
Martin
It also seems that current Delphi versions support unicode resourcestrings: http://qc.embarcadero.com/wc/qcmain.aspx?d=3427 (at least that issue has been closed as resolved), so it should be fixed in FPC. I'm not aware of anyone working on it though.
A bit of googling on "delphi unicode resourcestring" shows this as an example of a workaround: http://dybdahl.dk/dxgettext/docs/online/gettextfunction.html
Jonas