mirror of
https://github.com/storytold/cadcraft.git
synced 2026-11-11 16:32:22 -06:00
Resolve the dxf ascii() conflict: keep upstream's byte output and push_string, and the branch's hex chunking so a hostile value can't inject tags. The binary reader keeps upstream's policy: pre-R2007 binary strings are read from the code page, because a binary DXF cannot escape to UTF-8; the ASCII reader keeps this branch's per-line UTF-8 rule. The two branch tests that assumed UTF-8 in binary strings are updated to the code-page reading. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>