AlexM123 Posted February 7, 2023 Share Posted February 7, 2023 Dear Team I have found strange issue In TUniMainModule I fill UniSession.UserString := 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЫЬЪЭЮЯ_абвгдеёжзийклмнопрстуфхцчшщыьъэюя' This string is OK in Session list without HyperServer but wrong one with HyperServer as shown on the pictures. Unigui ver is 1.90.0.1563 , Ext JS 7.5.1 . Last Version FireFox x64 Quote Link to comment Share on other sites More sharing options...
irigsoft Posted February 7, 2023 Share Posted February 7, 2023 26 minutes ago, AlexM123 said: Dear Team I have found strange issue In TUniMainModule I fill UniSession.UserString := 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЫЬЪЭЮЯ_абвгдеёжзийклмнопрстуфхцчшщыьъэюя' This string is OK in Session list without HyperServer but wrong one with HyperServer as shown on the pictures. Unigui ver is 1.90.0.1563 , Ext JS 7.5.1 . Last Version FireFox x64 Hello, what is you database collation settings, maybe problem is there and check server location settings and nonunicode ? Quote Link to comment Share on other sites More sharing options...
AlexM123 Posted February 7, 2023 Author Share Posted February 7, 2023 Hello In this example I do not use any database connection. It is just unicode string. In general I use Firebird 3 : SET NAMES UTF8; DEFAULT CHARACTER SET UTF8 COLLATION UTF8; All grids show Unicode characters as expected Quote Link to comment Share on other sites More sharing options...
AlexM123 Posted February 7, 2023 Author Share Posted February 7, 2023 Windows Server 2012 R2 probably it is connected with the default system locale Quote Link to comment Share on other sites More sharing options...
irigsoft Posted February 7, 2023 Share Posted February 7, 2023 25 minutes ago, AlexM123 said: Windows Server 2012 R2 probably it is connected with the default system locale look here: http://forums.unigui.com/index.php?/search/&q=GetLocaleFormatSettings&quick=1 and try to change GetLocaleFormatSettings(GetUserDefaultLCID, MySettings);, (maybe this will help) Application.UpdateFormatSettings := False; Quote Link to comment Share on other sites More sharing options...
AlexM123 Posted February 7, 2023 Author Share Posted February 7, 2023 Thanks for the advice Maybe ExtLocale in UniMainModule and UniServerModule can fix the issue Quote Link to comment Share on other sites More sharing options...
irigsoft Posted February 7, 2023 Share Posted February 7, 2023 10 minutes ago, AlexM123 said: Thanks for the advice Maybe ExtLocale in UniMainModule and UniServerModule can fix the issue Yes, maybe. Please share the result . Quote Link to comment Share on other sites More sharing options...
AlexM123 Posted February 8, 2023 Author Share Posted February 8, 2023 I have found several solutions https://stackoverflow.com/questions/31240588/convert-text-from-utf-8-to-windows-1251 The issue caused by the fact that I develop my program on localized Windows but deploy it on non-localized one. Till now I have hot a positive result although I understand the way to resolve the issue. 1 Quote Link to comment Share on other sites More sharing options...
irigsoft Posted February 8, 2023 Share Posted February 8, 2023 1 hour ago, AlexM123 said: I have found several solutions https://stackoverflow.com/questions/31240588/convert-text-from-utf-8-to-windows-1251 The issue caused by the fact that I develop my program on localized Windows but deploy it on non-localized one. Till now I have hot a positive result although I understand the way to resolve the issue. Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.