How do I use STAF/STAX in environments where machines running STAF have different locales?
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
- How can I configure four licenses of the Job Server running on four different machines to work on the same repository of images at the same time?
- How do I use STAF/STAX in environments where machines running STAF have different locales?
- How do I use STAF and STAX to boot and shutdown VMWare images on my test machines?