Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93825

Text with Multi-Byte Characters can't be lowercased (or uppercased) in aggregation pipeline

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Hide

       

      {
        lowerCasedQuery: {
          $toLower: "$query"
          }
      }

       

      Will not lowercase query if it contains Cyrillic symbols

      Show
        {   lowerCasedQuery: {   $toLower: "$query"     } }   Will not lowercase query if it contains Cyrillic symbols
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

       For example: `$toLower` operator doesn't work with "Привет"

        1. image-2024-08-22-11-04-21-290.png
          image-2024-08-22-11-04-21-290.png
          69 kB
        2. image-2024-08-21-12-18-19-205.png
          image-2024-08-21-12-18-19-205.png
          79 kB
        3. image-2024-08-21-12-10-56-855.png
          image-2024-08-21-12-10-56-855.png
          160 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            liliia@goodnotesapp.com Liliia Ivanova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: