mon5termatt / medicat_installer

Medicat Installer Repo
https://medicatusb.com
GNU General Public License v3.0
1.59k stars 120 forks source link

Problem displaying accents when displaying license on Windows #37

Closed LeonLeBreton closed 1 year ago

LeonLeBreton commented 1 year ago

Hi, When displaying the license on the windows script (line 167), if it is in French, the text is not displayed correctly in cmd, because of the use of accents (utf8).
For example the text :

LE LOGICIEL EST FOURNI « EN L’ÉTAT », SANS GARANTIE D’AUCUNE SORTE, EXPRESSE OU
IMPLICITE, Y COMPRIS, MAIS SANS S’Y LIMITER, LES GARANTIES DE QUALITÉ MARCHANDE

becomes :

LE LOGICIEL EST FOURNI ┬½ EN LÔÇÖ├ëTAT ┬╗, SANS GARANTIE DÔÇÖAUCUNE SORTE, EXPRESSE OU
IMPLICITE, Y COMPRIS, MAIS SANS SÔÇÖY LIMITER, LES GARANTIES DE QUALIT├ë MARCHANDE


The text becomes really unpleasant to read. An example of a solution would be to use

chcp 65001

or to remove the accents from the licence and just use ascii characters instead. Thank you for the tool and I hope you'll find a solution to the problem.

mon5termatt commented 1 year ago

Next Release will use auto translate.