Commit f06226e
fix: force UTF-8 console so Oracle server starts on Windows cp1252
run_oracle printed a '→' in its startup banner, which crashed with
UnicodeEncodeError on Windows consoles/pipes using the cp1252 code page
(observed on Python 3.14), so the server never finished booting. Added
_force_utf8_console(), called first in run_oracle, to reconfigure
stdout/stderr to UTF-8 (errors="replace") — covering both startup banners
and the logging StreamHandler. Verified the server now boots without the
PYTHONIOENCODING=utf-8 workaround.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e6e8c61 commit f06226e
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
828 | 838 | | |
829 | 839 | | |
| 840 | + | |
830 | 841 | | |
831 | 842 | | |
832 | 843 | | |
| |||
0 commit comments