ParentFull threadBrianHammond·For those using Node.js, the same is var len = Buffer.byteLength(a_string, 'utf8')View on HN