You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
When you put an accent in description or any field an error occurs:
com.structurizr.dsl.StructurizrDslParserException: Input length = 1
at com.structurizr.dsl.StructurizrDslParser.parse(StructurizrDslParser.java:131)
at com.structurizr.cli.export.ExportCommand.run(ExportCommand.java:131)
at com.structurizr.cli.StructurizrCliApplication.run(StructurizrCliApplication.java:81)
at com.structurizr.cli.StructurizrCliApplication.main(StructurizrCliApplication.java:119)
For a lot of field is not a problem, but i think people need to make description in french or other language with lot of special character.
Steps to reproduce
Create a file with the code sample below.
use cli to validate file : structurizr.bat validate -w .\wtest.dsl
After more investigation, problem come from charset of file. Windows don't use UTF-8 by default.
The exception is : java.nio.charset.MalformedInputException. it is more explicit than "Input length = 1"
Description
When you put an accent in description or any field an error occurs:
com.structurizr.dsl.StructurizrDslParserException: Input length = 1
at com.structurizr.dsl.StructurizrDslParser.parse(StructurizrDslParser.java:131)
at com.structurizr.cli.export.ExportCommand.run(ExportCommand.java:131)
at com.structurizr.cli.StructurizrCliApplication.run(StructurizrCliApplication.java:81)
at com.structurizr.cli.StructurizrCliApplication.main(StructurizrCliApplication.java:119)
For a lot of field is not a problem, but i think people need to make description in french or other language with lot of special character.
Steps to reproduce
Create a file with the code sample below.
use cli to validate file : structurizr.bat validate -w .\wtest.dsl
Screenshot
No response
Code sample
Configuration
I run under windows
Computer locale is french
cli version : 1.33.1
dsl version 1.32.0
Severity
Minor
Priority
Low
Resolution
I have no budget, please fix this for free
More information
I just try accent for french language on windows.
The text was updated successfully, but these errors were encountered: