Bug fix
learn_youtube crashed on Windows consoles using the legacy cp1252 code page when a video title contained an emoji (e.g. a leading 🧠):
'charmap' codec can't encode character '\U0001f9e0' in position 33
Fix
- New
skillmind.ioutil.force_utf8_io()reconfiguresstdout/stderrto UTF-8 witherrors=replace(idempotent, guarded for streams withoutreconfigure). - Called at every process entry point: MCP server
main(), CLI group, andYouTubeLearner.learn()/learn_channel().
Tests
tests/test_ioutil.pyand a cp1252 regression test intests/test_youtube_progress.py(cp1252 stream double that rejects non-cp1252 glyphs until reconfigured).