2 Replies Latest reply on May 15, 2018 3:49 PM by Marcos Vainer Loeff

    webIdHelper.generateWebIdByPath with unicode string

    Румпельштицхен

      Hi.

      javascript.

      How to use webIdHelper.generateWebIdByPath with unicode string?

      ...

      WebId = piwebapi.webIdHelper.generateWebIdByPath("\\\\PISYS\\TESTBASE", "PIAttribute", "PIElement"); // Ok

      WebId = piwebapi.webIdHelper.generateWebIdByPath("\\\\PISYS\\TESTкирилица", "PIAttribute", "PIElement"); // Error

      ...

      How do I prepare a string for conversion?