[BUG] Encoding mismatch while copying tag JSON with unicode characters

v8.3.3

Copying the JSON of tags that have unicode characters (E.g. ³ (superscript 3) and ° (degree)) ends up (in Windows) as � in the JSON. If you copy the JSON and paste it directly back into the tag editor, the tag prop character is replaced with this as well (�).

e.g.

{
  "name": "Area X",
  "tagType": "Folder",
  "tags": [
    {
      "defaultValue": 10,
      "name": "Tag C",
      "tagType": "AtomicTag",
      "value": 30,
      "valueSource": "memory"
    },
    {
      "defaultValue": 10,
      "engUnit": "m³/hr",
      "historyEnabled": true,
      "historyProvider": "History",
      "name": "Tag A",
      "tagType": "AtomicTag",
      "value": 5,
      "valueSource": "memory"
    }
  ]
}

Copying this "Tag A" from the tag editor as JSON results in:

{
  "name": "Area X",
  "tagType": "Folder",
  "tags": [
    {
      "defaultValue": 10,
      "name": "Tag C",
      "tagType": "AtomicTag",
      "value": 30,
      "valueSource": "memory"
    },
    {
      "defaultValue": 10,
      "engUnit": "m�/hr",
      "historyEnabled": true,
      "historyProvider": "History",
      "name": "Tag A",
      "tagType": "AtomicTag",
      "value": 5,
      "valueSource": "memory"
    }
  ]
}

I havent tested this yet but it appears to be fixed in 8.3.5-rc1.

"Fixed an issue with special characters (non-ASCII Unicode characters) not exporting correctly in Tag exports."

2 Likes