You are not logged in.
I used FPC3.2.4, lazarus 2.2.4 .
TsdExtDaemonSetting to set displayName in Chinese. The service can be installed normally, but in the service manager, the ServiceDescription of the service will display garbled characters.
Offline
I have just made a huge refactoring of our Windows Service API:
https://github.com/synopse/mORMot2/commit/0e672041
https://github.com/synopse/mORMot2/commit/037ab917
FPC is sometimes confusing about its string type, which is typically UTF-8 with Lazarus, and therefore not consistent with the Windows API codepage as old Delphi versions.
Now you can set the DisplayName as RawUtf8, and it will use properly the UTF-16 Windows API calls as expected.
Offline
Yes, the service description can now be displayed in Chinese normally.
thank you @ab
Offline