You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that MetaIO does not sanitize the input to write from UNICODE, and can write some UNICODE strings. However, MetaIO is not able to read the same UNICODE string it has written.
Example output from above:
Expected equality of these values:
img2.GetMetaData("test2")
Which is: "des caract\xC3\xA8res sp\xC3\xA9" "ci"
As Text: "des caractères spéci"
value2
Which is: "des caract\xC3\xA8res sp\xC3\xA9" "ci\xC3\xB6"
As Text: "des caractères spéciö"
This issue is first reported here: SimpleITK/SimpleITK#2082
It appears that MetaIO does not sanitize the input to write from UNICODE, and can write some UNICODE strings. However, MetaIO is not able to read the same UNICODE string it has written.
Example output from above:
The Sample header file:
The text was updated successfully, but these errors were encountered: