Waldo.Model.Tools icon indicating copy to clipboard operation
Waldo.Model.Tools copied to clipboard

Export-NavObjectModel results in corrupted encoding

Open ichladil opened this issue 6 years ago • 0 comments

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.

ichladil avatar Jul 25 '19 08:07 ichladil