From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-05-2017 02:07 AM
Hi,
I am trying to use Unflatten from JSON with extended ASCII charecters. Apparently it does not work.
My trials are like this,
1)
This does not unflatten and return an error as LabVIEW: The JSON string is invalid. JSON strings must be encoded in UTF-8 and must conform to the JSON grammar.
2)
This works and returns the value as 201.
Can anyone help me to understand why my first trial does not work ?
Mirash
Solved! Go to Solution.
04-05-2017 08:57 AM
Hello,
When you try your first trial, it doesn't work because the UTF-8 format doesn't support the stress on letters like "é" "è" "à" for instance, that's why it's returning the error as explained in this document.
UTF-8 Encoding Debugging Chart:
http://www.i18nqa.com/debug/utf8-debug.html
Here is a link to help you and see how it converts the stress in UTF-8, this link will allow you to check the syntax of your string using the example providing by shb posted the 12-04-2009.
Re: undocument
http://forums.ni.com/t5/LabVIEW/undocumented-function-quot-text-to-utf-8-quot/m-p/1034616#M460673
Regards,
RojoRak
04-06-2017 04:31 AM
Thanks RojoRak. It works..:)
Mirash