Skip to content

nevergreen#77405

My feedback

3 results found

  1. 2 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    nevergreen#77405 commented  · 

    I've found the reason why and I think I have a solution for it. Since I also work as a developer I know that this is a very common mistake we do while localizing.

    THE PROBLEM
    When you search for a card that includes the "i" character there is no result. But when you search for a card with "ı" character the results show up.

    POSSIBLE SOLUTION
    The reason this is happening is, I use a Turkish OS on my PC. And in Turkish alphabet we have these characters "ı i I İ". When you convert these characters to uppercase it becomes as I've shown below.

    ı ----> I

    i ----> İ

    In programming, to make a proper search query we always covert input strings to either all uppercase or lowercase. And at this point it fails because instead of using .toUppercase() or .toLowercase() methods, I think you have used toLocaleUpperCase() or toLocaleLowerCase() methods. So when I try to search for the keyword "vito" it converts to "VİTO" not "VITO" or "light" becomes "LİGHT" not "LIGHT". And therefore the search query fails. I think the very same reason also causes the "?dualfaced" query to fail somehow.

    nevergreen#77405 supported this idea  · 
    nevergreen#77405 shared this idea  · 
  2. 3 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    nevergreen#77405 supported this idea  · 
  3. 550 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    nevergreen#77405 commented  · 

    Smfx88#33327 's solution and it worked for me! Thanks

Feedback and Knowledge Base