From: "zohaibnadeem13@... (Zohaib Nadeem) via ruby-core" Date: 2024-01-04T17:09:16+00:00 Subject: [ruby-core:116013] [Ruby master Bug#20148] Sorting not working as expected on Urdu words. Issue #20148 has been reported by zohaibnadeem13@gmail.com (Zohaib Nadeem). ---------------------------------------- Bug #20148: Sorting not working as expected on Urdu words. https://bugs.ruby-lang.org/issues/20148 * Author: zohaibnadeem13@gmail.com (Zohaib Nadeem) * Status: Open * Priority: Normal * ruby -v: 3.1.4 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I was trying to sort an array of Urdu characters and found out an ambiguity in the result. Here is the script that I am using. ['��', '��', '��', '��', '��'].sort Actual Result: ["��", "��", "��", "��", "��"] Expected Result: ["��", "��", '��', "��", "��"] -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/