Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use STAF/STAX in environments where machines running STAF have different locales?

0
Posted

How do I use STAF/STAX in environments where machines running STAF have different locales?

0

In general, you don’t have to do anything special. The requests submitted to STAF and the results received from STAF are all strings. These strings may contain any arbitrary set of characters, including the NULL (i.e., 0) character. When working in an environment with a heterogeneous set of codepages, STAF will translate the request and result strings from and to the necessary codepages. This ensures that the request and result strings are not misinterpreted by the receiver. In general, when using STAF services, there shouldn’t be any round trip problems. “Round trip” in this context means when all requests are originating from the same system, even if the requests are sent to, and the data is stored on, a system with a different codepage. However, if you send, for example, a request to log data containing Japanese codepage specific characters to any system and then query the log from a system using a US English codepage, you won’t get the “correct” data, as that is not a valid “round

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.