Commit bd7ae53
committed
Fix UTF-8 encoding in async process output and add debug marker
The AsyncProcess reader thread was using wxString stream operators to convert
raw byte content, which does not properly handle UTF-8 encoded data. This has
been replaced with explicit UTF-8 decoding via wxString::FromUTF8() for both
stdout and stderr output streams.
Additionally, a debug marker "[**STDOUT**]" has been prepended to the LSP trace
output in LSPNetworkSTDIO to improve log readability and make stdout events
easier to identify in debug traces.
* AsyncProcess: UTF-8 encoding
* LSP: debug tracing
**Generated by CodeLite**
Signed-off-by: Eran Ifrah <eran@codelite.org>1 parent e428f61 commit bd7ae53
File tree
2 files changed
+3
-3
lines changed- CodeLite/AsyncProcess
- Plugin/LSP
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments