Closed retostadelmann closed 3 years ago
Thank you @retostadelmann ! Was using standard latin characters only so far, but can confirm that special characters (German umlaut, French accents, Chinese characters, others) cause a lot of problems in the folder and file names. Got an idea how to fix it, will test it tomorrow. Aiming to get an updated build ready sometime tomorrow as well
Published some updated code (https://github.com/modery/PowerDocu/commit/b820794656796a9ecd072c3796263216f3e68f99) and a new release (https://github.com/modery/PowerDocu/releases/tag/v-0.2.0-alpha) which should help with this
Works perfectly, thanks a lot! Great Project!
If i try to document a Flow that contains Umlaute (ä, ö, ü, Ä, Ö, Ü) in an Actions name, the export fails:
C:\Tools\PowerDocu.FlowDocumenter> .\PowerDocu.FlowDocumenter.exe ..\TestDocumenterUmlaut_20211025071449.zip Processing ..\TestDocumenterUmlaut_20211025071449.zipProcessing workflow definition Microsoft.Flow/flows/6df5b1b3-02aa-430e-b55f-86389aa4ca47/definition.json Warning: Invalid 3-byte UTF8 found in input of graph TEST Flow Documenter - treated as Latin-1. Perhaps "-Gcharset=latin1" is needed? Unhandled exception. System.Xml.XmlException: Invalid character in the given encoding. Line 13, position 18. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount) at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount) at System.Xml.XmlTextReaderImpl.ReadData() at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at Svg.SvgTextReader.Read() at Svg.SvgDocument.Create[T](XmlReader reader) at Svg.SvgDocument.Open[T](Stream stream, Dictionary
2 entities) at Svg.SvgDocument.Open[T](String path, Dictionary
2 entities) at Svg.SvgDocument.Open(String path) at PowerDocu.FlowDocumenter.GraphBuilder.buildGraph(Boolean showSubactions) in C:\Users\rene\GitHub\PowerDocu\PowerDocu.FlowDocumenter\GraphBuilder.cs:line 55 at PowerDocu.FlowDocumenter.FlowDocumenter.Main(String[] args) in C:\Users\rene\GitHub\PowerDocu\PowerDocu.FlowDocumenter\FlowDocumenter.cs:line 1You find an example export attached: TestDocumenterUmlaut_20211025071449.zip