Commit Graph
3 Commits
Author SHA1 Message Date
debpalash bbe55b78d7 fix: segment gap keys see the lexicon; text-mode checker covers encoding/errors
- room-tone segment keys count paragraphs after the lexicon, as the
  render does, so a respelling that adds a blank line is keyed
- the subprocess checker treats encoding= or errors= alone as text mode
- the stdin locale test skips when the host only offers UTF-8 locales
2026-10-28 08:24:47 +05:30
debpalash 18ce637a84 fix(backend): send prompt text to native engines as UTF-8
errors='replace' also applies when input= text is encoded. With the
locale codec (cp1252 on many Windows hosts) non-Latin prompt text became
'?'. The GGUF stdin call and the native, Go and ffmpeg tools now name
UTF-8; a test requires an explicit encoding wherever text goes in, and a
child-process test sends Cyrillic and CJK through stdin under a non-UTF-8
locale.
2026-10-28 07:44:10 +05:30
debpalash a2c27fbcd0 fix(backend): never lose subprocess output to a decode error (#3612)
On Windows a text-mode subprocess decodes its output in a reader thread;
bytes invalid in the locale encoding kill that thread and leave stdout
None. The import-time GPU probe then raised and the backend failed to
start. Every text-mode call now decodes with errors='replace', a test
keeps it that way, and the GPU probe can no longer abort startup.
2026-10-28 05:00:21 +05:30