Waldo.Model.Tools
Waldo.Model.Tools copied to clipboard
Export-NavObjectModel results in corrupted encoding
Issue: Importing object, and exporting it back to text results in corrupted chars when czech characters are present in the captions.
How to simulate: Try to take an object with e.g. czech characters in captions. Import it and then export it back. Sample file is attached. TAB11787.TXT
$Mod = Get-NAVObjectModel -NavObjectsTextFile .\TAB11787.TXT
Export-NAVObjectModel -ObjectModel $Mod -TargetFileName .\TAB11787Reexport.TXT
Expected result: The exported object text file matches the imported one.
Actual results: Captions do not match due to accented chars.