archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
944 stars 269 forks source link

[Feature] Option to Import CSVs with ANSI encoding #758

Closed LucasSalmen closed 3 years ago

LucasSalmen commented 3 years ago

Version of Archi

4.7.1

Archi Plug-ins

Yes

Operating System

Windows 10

Expected Behaviour

It should prompt a box with an option to select the desirable encoding to import a CSV file to Archi (like "ANSI").

Actual Behaviour

Archi always uses encoding UTF-8 when importing CSVs.

Why this is important

When working with special characters like "á" or "ã", archi can't recognize due to UTF-8 encoding. This could be an important feature for usage with alphabets like portuguese.

Phillipus commented 3 years ago

The whole point of using UTF-8 is to support these special characters. If the CSV file is UTF-8 encoded and contains special characters they are imported correctly. This is why Archi only supports UTF-8 for importing. From the User Guide:

"If you are manually creating CSV files make sure you save them using UTF-8 format to preserve all special characters. "

LucasSalmen commented 3 years ago

I'm now converting my CSV files to UTF-8 and now it's working. Thank you.