SLsheng liinunicode-debugging-notes.hashnode.dev·7h ago · 5 min readBuild a Versioned Scene File for a Browser Falling-Sand GameA browser falling-sand game can begin with no persistence at all. Refreshing the tab clears the grid, which is acceptable until players start building scenes they care about. The first save button oft00
SLsheng liinunicode-debugging-notes.hashnode.dev·6d ago · 5 min readA Boundary-First Method for Debugging Unicode EscapesUnicode problems are often diagnosed from the last visible symptom: a log contains \\u65e5, an emoji becomes two replacement characters, or text displays as mojibake. The tempting response is to searc00
SLsheng liinunicode-debugging-notes.hashnode.dev·Jul 14 · 5 min readFive Unicode Bugs That Look Alike but Need Different FixesText that looks broken is often described as a Unicode problem, but that label is too broad to be useful. A JSON escape, an HTML entity, a Unicode code point, a surrogate pair, and mojibake can all lo00