Json Language/culture within C# API

General Information

  • Product: Ensenso-C
  • Ensenso SDK Version: 3.6.1621
  • Operating System: Windows

Problem / Question

By executing this piece of C# code:

var cameras = new NxLibItem(NxLib.itmCameras);
var json = cameras[0].AsJson();

The value of json is starting with:
≻故牰浯摉㨢㘲∬楌歮㨢≻慔杲瑥㨢∢ⱽ䴢摯汥慎敭㨢䌢㜵㘭䴭Ⱒ倢牯≴笺䐢䍈≐昺污敳∬慇整慷≹渺

I assume this is Chinese, but I would like to have it in English. What do I have to change in my code?

Kind regards,

John

Hi,

this is a known issue in the .NET interface. It will be fixed in the next version. In the meantime you can apply the workaround from this post to your copy of the code: Trouble getting started with NxLib and Ensenso SDK, Assigning Cam Parameters - #9 by benthie

@daniel.saier thank you! This solved my issue