IBM / JTOpen

IBM Toolbox for Java, an IBM i communications library
https://ibm.github.io/JTOpen/
Other
56 stars 26 forks source link

JTOpen #192

Open mklassen60 opened 2 weeks ago

mklassen60 commented 2 weeks ago

We have a program that returns a string. This has worked with other programs but it seems that this case has some encoding that is not working with the output. The IBM programmers are not familiar with the encoding issue but see it is valid at the end of the program before it's returned to JTOpen.

In the non-JTOpen response the value: Delivered In the Node program running JTOpen: \u0004ᅤᅮ￉¥ᅤ￙ᅤᅣ When displaying the output in Postman: ᅤᅮ￉¥ᅤ￙ᅤᅣ€€€€€€€€€€€€€€€€

Is there some way to enforce or modify encoding after it comes from the JTOpen regarding strings? I did see this in code but may be incorrect: