question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Encoding not recognized: 'DOS-862'

See original GitHub issue

Brief Issue Summary

I get messages saying

[rollbar] Unhandled exception: Unhandled exception: Processing "data" event from proc stdout Error: Encoding not recognized: 'DOS-862' (searched as: 'dos862') {"data":{"type":"Buffer","data":[110,105,110,106,97,58,32,110,111,32,119,111,114,107,32,116,111,32,100,111,46,13,10]},"command":"C:\\Program Files\\CMake\\bin\\cmake.EXE","args":["--build","c:/Users/dviry/GitHub/ranges_code_samples/build/vs-2019-amd64/Debug","--config","Debug","--target","all","--","-j","6"]}

during build and no output from the actual build.

The build completes successfully however.

Expected:

No strange message.

CMake Tools Log

[build] Starting build
[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --build c:/Users/dviry/GitHub/ranges_code_samples/build/vs-2019-amd64/Debug --config Debug --target all -- -j 6
[rollbar] Unhandled exception: Unhandled exception: Processing "data" event from proc stdout Error: Encoding not recognized: 'DOS-862' (searched as: 'dos862') {"data":{"type":"Buffer","data":[110,105,110,106,97,58,32,110,111,32,119,111,114,107,32,116,111,32,100,111]},"command":"C:\\Program Files\\CMake\\bin\\cmake.EXE","args":["--build","c:/Users/dviry/GitHub/ranges_code_samples/build/vs-2019-amd64/Debug","--config","Debug","--target","all","--","-j","6"]}
[rollbar] Unhandled exception: Unhandled exception: Processing "data" event from proc stdout Error: Encoding not recognized: 'DOS-862' (searched as: 'dos862') {"data":{"type":"Buffer","data":[46,13,10]},"command":"C:\\Program Files\\CMake\\bin\\cmake.EXE","args":["--build","c:/Users/dviry/GitHub/ranges_code_samples/build/vs-2019-amd64/Debug","--config","Debug","--target","all","--","-j","6"]}
[build] Build finished with exit code 0

Developer Tools Log

https://gist.github.com/dvirtz/e3b32245c6dac7e1fd20d78c5a7c29e9

Platform and Versions

  • Operating System: Windows 10
  • CMake Version: 3.15.3
  • VSCode Version: 1.39.2
  • CMake Tools Extension Version: 1.1.3
  • Compiler/Toolchain: VS 16.3.7

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dvirtzcommented, Dec 8, 2019

Found it. I had Hebrew configured under Language for non-Unicode programs Windows settings. When I set the option Beta: use Unicode UTF-8 for worldwide language support I can see regular CMake output.

0reactions
bobbrowcommented, Dec 31, 2019

This Stack Overflow post details how to get there, but misses just one step. You have to click the “Change system locale…” button to get the “Region Settings” window to appear.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++11 - Unhandled exception: Processing "data" event from proc ...
Unhandled exception: Processing "data" event from proc stdout Error: Encoding not recognized: 'DOS-862' using cmake on vscode.
Read more >
Bountysource
Error : Encoding not recognized: 'DOS-862'
Read more >
Encoding character strings in R - Amazon AWS
This document describes how to encode character strings in R by ... current platform by avoiding runtime errors and non-convertible strings.
Read more >
Character Encoder / Decoder Tool - String Functions
This is an encoding / decoding tool that lets you simulate character encoding problems and errors. Here, you can simulate what happens if...
Read more >
Encoding Class (System.Text) | Microsoft Learn
Represents a character encoding. ... Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found