Skip to content

non UTF-8 encoding not available since mintlocale-1.5.5 #74

@wateo355

Description

@wateo355

mintlocale version: 1.5.5
cinnamon version: 4.6.7

We are using linux mint 20 from Belgium, as java developers and need to have a locale configured with encoding ISO-8859-1 (enterprise policy).
Since mint 20 we cannot chose this encoding anymore and are stuck to UTF-8. By reading the python code located in mintlocale.py we discovered that this piece of code was added: Lines 611->613:

# Only allow UTF-8 locales
     if "UTF-8" not in line:
              continue

The explanation of the commit says that mixing non UTF-8 encoding with UTF-8 encoding can lead to some not expected behaviour or bugs on the system....
But How about not mixing, but put the whole system to ISO-8859-1 encoding ?!!

Finally, a quick patch for us was to comment those lines, it had for effect that we were able to chose again the encoding we want in mintlocale interface.
So if someone can consider this problem and think for a fix, it would be great!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions