{
  "$type": "site.standard.document",
  "canonicalUrl": "https://ayc0.github.io//posts/intlsegmenter-dont-use-stringsplit-nor-stringlength",
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreigwxg63co5ykqlr77kwqylhahtvghjq37qslolyzcn7bcw3suh7yi"
    },
    "mimeType": "image/png",
    "size": 197204
  },
  "description": "UTF is tricky: the length of a string can mean a lot of different things based on whether you want the number of code points, code units, and graphemes. What are the differences, and how can we navigate through those using JavaScript?",
  "path": "/posts/intlsegmenter-dont-use-stringsplit-nor-stringlength",
  "publishedAt": "2023-07-25T00:00:00.000Z",
  "site": "at://did:plc:wifmfjqoxnruni5h62e6zp2y/site.standard.publication/3mn6dj35act2i",
  "tags": [
    "javascript",
    "unicode"
  ],
  "title": "Intl.Segmenter(): Don't use string.split() nor string.length"
}