This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

When Sending Japanese Characters From a WebVI Created With G Web Development Software to a Web Service, the Characters Get Garbled

Updated Apr 5, 2024

Reported In

Software

  • G Web Development Software
  • LabVIEW

Issue Details

When I create a Web VI with G Web Development Software (GWDS) and send Japanese characters to the Web service, the characters get garbled on the Web service side. Why does this happen and what is the workaround?

Solution

URL Encoding/Decoding is required when sending multi-byte characters such as Japanese from a Web VI to a Web service. Both Web VI and Web Service need to perform these processes, but GWDS and LabVIEW do not have built-in functions.

An alternative is to use .NET functions for web services created in LabVIEW. Web VIs created with GWDS can be executed by embedding JavaScript using this method .