1. S&F Datentechnik
  2. PowerServer
  3. Monday, 11 July 2022 06:52 AM UTC

Hi,

is it possible to use unicode characters on powerserver cloudapp? On a native powerbuilder app we have to append "DisableBind=0,NCharBind=1" to the DBParm, if we don't use that, some chars are recognized as questions marks (?). Example:

The following string: (please see the image in the attachment, because the unicode chars will not be shown correctly on this board)

will be inserted as the following in the database: A A B C C D E E F G H I J K L L M N N O Ó P R S S T U W Y Z Z Z ° ? ? ? ? ? ? ? ? ? ? ? ??

If we use "DisableBind=0,NCharBind=1" on the DBParm, the string will be completly inserted and selected right, without any errors or wrong chars as it is shown above.

But when we use the same string by using a powerserver cloudapp, the client will crash when the string does contain characters like the smiley at the end in the attachment. We get a Bad Request 400 error when trying to save the datawindow which contains the string, after that the cloudapp crashes.

Regards,

Jonas Schwartz

Attachments (1)
Accepted Answer
David Xiong @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 12 July 2022 10:09 AM UTC
  2. PowerServer
  3. # Permalink

Hi Jonas,

PowerServer 2021 does not support NCharBind, we plan to support it in PowerServer 2022. Please open a ticket through our support portal https://www.appeon.com/standardsupport/newbug and provide a small reproducible case for us to analyze, thanks!

Regards,

David

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 11 July 2022 17:51 PM UTC
  2. PowerServer
  3. # 1

Hi Jonas;

  In the case of a PS app, the data from the App to the server is PB ANSI => JSON => native DBMS client (or via ODBC) from the server. The same in reverse from the DBMS to PS Server to PB App (Native RS => JSON => DWO buffer). The issue would not be DBParm related as these settings are ignored by the PS Server. The PS Server uses it's own C# DB Drivers. It could also be JSON related as well. So there are a few areas where this problem might be occurring (not the PB App IMHO).

  I would suggest that you open a Support Ticket for this issue to really track this issue down properly.

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.