Commit Graph
1 Commits
Author SHA1 Message Date
SilvertakanaandClaude 7cc3529ce3 Fix UTF-8 corruption in OSM search & add web setup script (#218)
* fix: decode Overpass response as UTF-8 to preserve Cyrillic names

Collect raw Buffer chunks from the OSM search proxy stream and decode the
full body as UTF-8 once, instead of concatenating Buffers into a string
per-chunk. The previous `data += chunk` pattern decoded each chunk
independently, corrupting any multi-byte UTF-8 character (Cyrillic place
names in Kazakhstan, Russia, Mongolia, etc.) that straddled a chunk
boundary on large Overpass responses.

https://claude.ai/code/session_01J9986diBmJ6oCu6dD5A8m9

* chore: add self-locating pnpm setup script for web sessions

Add scripts/web-setup.sh for Claude Code on the web (and fresh CI clones).
It resolves the repo root from its own location, activates the pinned pnpm
via corepack, runs pnpm install, and generates the Prisma client — fixing
the 'npm error path /home/user/package.json' setup failure caused by running
npm from the wrong directory in this pnpm monorepo. Point the environment's
setup script at: bash scripts/web-setup.sh

https://claude.ai/code/session_01J9986diBmJ6oCu6dD5A8m9

---------

Co-authored-by: Claude <[email protected]>
2026-06-03 13:02:47 +12:00