Skip to content

Don't add encondings in i18n functions

Jonathan Weth requested to merge fix/no-encoding-before-normalise into master

This code was unnecessary as normalise_locale adds the default encoding automatically. As normalise_locale doesn't work with locale names like en.UTF-8 (produced by this code fragments), it's better to just use en as locale name. normalise_locale would change en to en_US.UTF-8 then.

Merge request reports