Skip to content

String.downcase doesn't convert Greek letter 'Σ' correctly when this is at the end of a word #6437

@vjorjo

Description

@vjorjo

Environment

  • Elixir & Erlang versions (elixir --version):
    Erlang/OTP 20 [erts-9.0] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10]
    Elixir 1.5.1
  • Operating system:
    Windows 7

Current behavior

String.downcase("ΣΣ") returns "σσ"

Expected behavior

String.downcase("ΣΣ") should return "σς"
This is because "Σ"'s lower case is "σ" unless it is at the end of a word when then it becomes "ς".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions