<?xml version="1.0" encoding="ISO-8859-1"?

file-formats
(Vaya Putra) #1

i got open source simulation,
and how to write the output file used <?xml version="1.0" encoding="ISO-8859-1"?>
i am facing that i can not read that output file
write as below

PointData
DataArray type=“Float64” Name=“displacement” NumberOfComponents=“3” format=“binary” RangeMin=“0” RangeMax=“0”
AQAAAACAAADABgAAFgAAAA==eJxjYBgFo2AUjIJRMAqGHgAABsAAAQ==

what i have done is trying to chance encoding = UFT-8 or etc to obtain the output file in ASCI.

anyone have same problem with me?

(Paulo Carvalho) #2

It seems to me that each part up to a == in

is encoded in Base-64, a format used to encode attachments in e-mails.

(Vaya Putra) #3

do you know how to convert, so i can extract the input file?

(Paulo Carvalho) #4

Your code is in which language?

(Vaya Putra) #5

i used MATLAB

(Paulo Carvalho) #6

Then you can use the base64decode() function to do it: https://www.mathworks.com/help/matlab/ref/matlab.net.base64decode.html. Evidently the result is a binary content.