Character encoding in file view
Overview
Our software ambient is windows and we have some xhtml files with ISO-8859-1 enconding. After pushing some of these files with accents like "ã", the gitlab file viewer do not show those characters.
Reproduce
- Create
xhtml
file with accent chars ã é - View file in GitLab file viewer https://gitlab.com/Dtsr/xhtml_test/blob/master/conciliarCreditosRedecard.xhtml
- View raw file https://gitlab.com/Dtsr/xhtml_test/raw/master/conciliarCreditosRedecard.xhtml
Example files provided
Relevant Links
https://github.com/gitlabhq/gitlabhq/issues/5493
//cc @stanhu