Skip to content

Instantly share code, notes, and snippets.

@unfo
Created May 6, 2015 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unfo/8e4de01454ceb2f2457c to your computer and use it in GitHub Desktop.
Save unfo/8e4de01454ceb2f2457c to your computer and use it in GitHub Desktop.
سَيّارة
سيارة
@esuomi
Copy link

esuomi commented May 6, 2015

input               = سَيّارة
normalized          = سَيّارة
input bytes         = (NFD) = 1587, 1614, 1610, 1617, 1575, 1585, 1577
normalized bytes    = (NFD) = 1587, 1614, 1610, 1617, 1575, 1585, 1577
input               = سَيّارة
normalized          = سَيّارة
input bytes         = (NFC) = 1587, 1614, 1610, 1617, 1575, 1585, 1577
normalized bytes    = (NFC) = 1587, 1614, 1610, 1617, 1575, 1585, 1577
input               = سَيّارة
normalized          = سَيّارة
input bytes         = (NFKD)    = 1587, 1614, 1610, 1617, 1575, 1585, 1577
normalized bytes    = (NFKD)    = 1587, 1614, 1610, 1617, 1575, 1585, 1577
input               = سَيّارة
normalized          = سَيّارة
input bytes         = (NFKC)    = 1587, 1614, 1610, 1617, 1575, 1585, 1577
normalized bytes    = (NFKC)    = 1587, 1614, 1610, 1617, 1575, 1585, 1577

---
input               = سيارة
normalized          = سيارة
input bytes         = (NFD) = 1587, 1610, 1575, 1585, 1577
normalized bytes    = (NFD) = 1587, 1610, 1575, 1585, 1577
input               = سيارة
normalized          = سيارة
input bytes         = (NFC) = 1587, 1610, 1575, 1585, 1577
normalized bytes    = (NFC) = 1587, 1610, 1575, 1585, 1577
input               = سيارة
normalized          = سيارة
input bytes         = (NFKD)    = 1587, 1610, 1575, 1585, 1577
normalized bytes    = (NFKD)    = 1587, 1610, 1575, 1585, 1577
input               = سيارة
normalized          = سيارة
input bytes         = (NFKC)    = 1587, 1610, 1575, 1585, 1577
normalized bytes    = (NFKC)    = 1587, 1610, 1575, 1585, 1577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment