Skip to content

toLowerCase problem in Turkish operating systems #35

@FurkanS1821

Description

@FurkanS1821

String name = toolMaterial.name().toLowerCase().replaceAll("tools?|materials?|(battle)?(sword|axe|hoe|pick(axe)?|shovel|hammer)", "").replaceAll("[_|:]+", " ").trim();

This blob of code causes exception in Turkish OSs because it will lower I to ı, causing errors like "ıron_axe not found". This can easily be fixed by using English culture.

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