Commit 1eaa4c4
Fix YAML parsing on Windows: read as string before parsing
Jackson's UTF8Reader has a buffer boundary bug with multi-byte UTF-8
characters (e.g., French accents) at the 1024-byte mark on Windows.
Replace readTree(File) with readTree(Files.readString(path)) to use
Java's own UTF-8 decoding instead.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 5c9d966 commit 1eaa4c4
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
300 | | - | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments