07-31-2018 08:01 AM
I am working on a DIAdem project and I use the GIT to version my files. It seems DIAdem uses defaultly UTF-16LE encoding, which makes GIT treat the files as binary. So when making commits I don't get any change logs, only that the files differ.
So I manually changed all the files to UTF-8. But now the DIAdem behaves strangely:
What do I do wrong? Does DIAdem not fully support UTF-8? If not, how should I version the files using GIT and still have the file comparisons? I tried some suggestions found online, but they did not work for me.
Solved! Go to Solution.
08-03-2018 01:43 AM
Hi,
After some research, I can present you with two possible solutions for your issue:
I am also attaching illustrative instructions how to change encoding.
Please, let me know if the answer was helpful.
Best regards
FH
08-15-2018 08:08 AM
Sadly the provided solution (first point) did not help.
When I use the ANSI Diadem encoding and use the Δ sign it seems to work, but after closing and opening the file again, the Δ gets replaced by '?'.
08-17-2018 04:49 AM
Solved this problem by adding:
into .gitconfig:
[diff "utf16le"]
textconv = "iconv -f UTF-16LE -t UTF-8"
into .gitattributes:
*.vbs diff=utf16le
*.VBS diff=utf16le