Why does NFKC normalize of all digits not work? [on hold]Is there a Pac-Man-like character in ASCII or...

What is the orbit and expected lifetime of Crew Dragon trunk?

Why is there an extra space when I type "ls" on the Desktop?

Can I negotiate a patent idea for a raise, under French law?

Insult for someone who "doesn't know anything"

Who has more? Ireland or Iceland?

Is it a Cyclops number? "Nobody" knows!

Should we avoid writing fiction about historical events without extensive research?

Was this cameo in Captain Marvel computer generated?

What is better: yes / no radio, or simple checkbox?

Does an unused member variable take up memory?

Tool for measuring readability of English text

Why restrict private health insurance?

Rationale to prefer local variables over instance variables?

Is there a logarithm base for which the logarithm becomes an identity function?

I am the person who abides by rules but breaks the rules . Who am I

Use Mercury as quenching liquid for swords?

Limpar string com Regex

Draw this image in the TIKZ package

Sort array by month and year

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

Precision notation for voltmeters

What exactly is the meaning of "fine wine"?

How spaceships determine each other's mass in space?

What does it take to become a wilderness skills guide as a business?



Why does NFKC normalize of all digits not work? [on hold]


Is there a Pac-Man-like character in ASCII or Unicode?Displaying Korean characters properly on a computer with English Windows XPIs there a way to change my ASCII language in Windows 8?What is this character-set corruption? (ISO-2022?)How can I find the Alt KeyCode for a glyph with the Windows system tools?What sort of character is this (𝒲)incorrect encoding of rsyslog outputWhy does LibreOffice Calc change CSV file Character Set?How to improve the support of non-ASCII character in Windows File Explorer and Command Prompt of Windows English Version?Is there an option to disable JavaScript in Firefox?













-1















In JavaScript I am using NFKC normalization via String.prototype.normalize to normalize fullwidth to standard ASCII halfwidth characters.



'1'.normalize('NFKC') === '1'
> true


However, looking at more obscure digits like ૫ which is the digit 5 in Gujarati it does not normalize.



'૫'.normalize('NFKC') === '5'
> false


What am I missing?










share|improve this question













put on hold as off-topic by DavidPostill 10 hours ago



  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

If this question can be reworded to fit the rules in the help center, please edit the question.





















    -1















    In JavaScript I am using NFKC normalization via String.prototype.normalize to normalize fullwidth to standard ASCII halfwidth characters.



    '1'.normalize('NFKC') === '1'
    > true


    However, looking at more obscure digits like ૫ which is the digit 5 in Gujarati it does not normalize.



    '૫'.normalize('NFKC') === '5'
    > false


    What am I missing?










    share|improve this question













    put on hold as off-topic by DavidPostill 10 hours ago



    • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

    If this question can be reworded to fit the rules in the help center, please edit the question.



















      -1












      -1








      -1








      In JavaScript I am using NFKC normalization via String.prototype.normalize to normalize fullwidth to standard ASCII halfwidth characters.



      '1'.normalize('NFKC') === '1'
      > true


      However, looking at more obscure digits like ૫ which is the digit 5 in Gujarati it does not normalize.



      '૫'.normalize('NFKC') === '5'
      > false


      What am I missing?










      share|improve this question














      In JavaScript I am using NFKC normalization via String.prototype.normalize to normalize fullwidth to standard ASCII halfwidth characters.



      '1'.normalize('NFKC') === '1'
      > true


      However, looking at more obscure digits like ૫ which is the digit 5 in Gujarati it does not normalize.



      '૫'.normalize('NFKC') === '5'
      > false


      What am I missing?







      javascript unicode character-encoding special-characters character-set






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 hours ago









      Adam ThompsonAdam Thompson

      1071




      1071




      put on hold as off-topic by DavidPostill 10 hours ago



      • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

      If this question can be reworded to fit the rules in the help center, please edit the question.







      put on hold as off-topic by DavidPostill 10 hours ago



      • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.

      If this question can be reworded to fit the rules in the help center, please edit the question.






















          0






          active

          oldest

          votes

















          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...