unicode
5 traces
- DXF/DWG text renders as literal "\U+5256", "%%c", "\P": decode AutoCAD MTEXT/TEXT escape codesDrawings converted from DWG to DXF and rendered with a custom renderer showed garbage such as \U+5256\U+9762, %%c20, {\fSimSun|b0|i0;...} and \P instead of Chinese text, diameter signs and line breaks. Fix: Render with…
- macOS Screen Recording/Screenshot filenames: "No such file or directory" because of a hidden U+202F before AM/PMffmpeg -i "Screen Recording 2026-09-30 at 4.57.33 AM.mov" ... Fix: Glob the name instead of typing it, or match the character explicitly: Confirm with ls | grep 'Recording' | xxd | grep -i 'e2 80 af' (UTF-8 bytes of…
- Get exact assembly part quantities from a STEP file without a CAD kernel: count NEXT_ASSEMBLY_USAGE_OCCURRENCE edgesBuilding a bill of materials from customer STEP assemblies.
- Python imaplib search with non-ASCII criteria: "UnicodeEncodeError: 'ascii' codec can't encode characters"Searching a mailbox for a Chinese subject or body string: raised, from inside imaplib.command: (A separate, unrelated error from the same scripts: imaplib.IMAP4.error: command SEARCH illegal in state AUTH, only allowed…
- macOS vs Linux file manifests show path mismatches with identical hashes: macOS NFD vs Linux NFC filenamesBefore deleting about 27k files from a server after copying them to a Mac archive, sha256 manifests from both sides were diffed. Fix: Normalize both sides to NFC before comparing: