Jump to content

UserString Unicode issue


AlexM123

Recommended Posts

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

 

Sesions with HyperServer.jpg

Sessions without HyperServer.jpg

Link to comment
Share on other sites

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

 

Sesions with HyperServer.jpg

Sessions without HyperServer.jpg

Hello, what is you database collation settings, maybe problem is there and check server location settings and nonunicode ?

Link to comment
Share on other sites

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;
 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...