Skip to content

Non-ASCII characters #455

@Risele

Description

@Risele

Non-english characters could not be used even in notes.

Error:

Failed parsing node label.
Reason(s): token recognition error at: 'В' at line 2 column 0. Offending char: `0`.
           token recognition error at: 'о' at line 2 column 1. Offending char: `0`.
           token recognition error at: 'в' at line 2 column 3. Offending char: `0`.
         <...>
DiagramNode:
    id: w5a5QlWd_wu4aqpUXyVi-1
    label: `$NOTES
            Во время<...>`
    parent.id: null

>>>> RELATED HELP <<<<
https://github.com/StateSmith/StateSmith/issues/174
Exception DiagramNodeParseException : Failed parsing node label.
Reason(s): token recognition error at: 'В' at line 2 column 0. Offending char: `0`.
           token recognition error at: 'о' at line 2 column 1. Offending char: `0`.
          <...>
   at StateSmith.SmGraph.DiagramToSmConverter.PrintAndThrowIfNodeParseFail(DiagramNode diagramNode, Vertex parentVertex, LabelParser labelParser) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\SmGraph\DiagramToSmConverter.cs:line 259
   at StateSmith.SmGraph.DiagramToSmConverter.ParseNode(DiagramNode diagramNode, Vertex parentVertex) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\SmGraph\DiagramToSmConverter.cs:line 147
   at StateSmith.SmGraph.DiagramToSmConverter.ProcessNode(DiagramNode diagramNode, Vertex parentVertex) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\SmGraph\DiagramToSmConverter.cs:line 127
   at StateSmith.SmGraph.DiagramToSmConverter.CompileDiagramNodesEdges(List`1 rootNodes, List`1 edges) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\SmGraph\DiagramToSmConverter.cs:line 33
   at StateSmith.Runner.InputSmBuilder.ConvertNodesToVertices(List`1 rootNodes, List`1 edges) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\Runner\InputSmBuilder.cs:line 162
   at StateSmith.Runner.InputSmBuilder.ConvertDrawIoFileNodesToVertices(String filepath) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\Runner\InputSmBuilder.cs:line 114
   at StateSmith.Runner.InputSmBuilder.ConvertDiagramFileToSmVertices(String diagramFile) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\Runner\InputSmBuilder.cs:line 100
   at StateSmith.Runner.SmRunnerInternal.SetupAndFindStateMachine(InputSmBuilder inputSmBuilder, RunnerSettings settings) in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\Runner\SmRunnerInternal.cs:line 129
   at StateSmith.SmGraph.PreDiagramSettingsReader.Process() in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\SmGraph\PreDiagramSettingsReader.cs:line 38
   at StateSmith.Runner.SmRunner.SetupDependencyInjectionAndRenderConfigs() in C:\Users\adamf\Documents\adam\code\ss\StateSmith\src\StateSmith\Runner\SmRunner.cs:line 166

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions