Appears on
Articles2
Analyzing JavaScriptCore Vulnerabilities: Developing CodeQL Queries for Security Research
Insight
Understanding String Length Calculations for Emojis Across Programming Languages
This article examines the complex issue of string length calculation for emojis and Unicode characters across different programming languages (JavaScript, Swift, Python). The author argues that JavaScript's approach of returning the number of UTF-16 code units (which gives 7 for "🤦🏼♂️") is actually reasonable, while criticizing Python 3's approach as the
Insight
hsivonen.fi9mo ago

