Closed guwidoe closed 1 year ago
Thanks @guwidoe ,
Just looking at your PR I realized that I was being dumb. There was no need to use InStrB. I just need to use InStr and still search for null char. Just pushed commit b76d7917f72d4f05477147afa3ea1122691aa1cb which solves the issue with minor changes.
Fixed GetODFolders for folder names containing nasty sequences of Unicode characters that contain "misaligned"
Null
chars when encoded in UTF-16-LE, e.g. "FolderNamešest" would have previously been truncated to "FolderName"