pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

could not convert 'main' from the host encoding (CP1252) to UTF-32.

Open StarflyerAlien opened this issue 3 months ago • 3 comments

First time starting a cortex-debug session with pico-sdk. Did not have this problem on the previous setup. Session seems to run without problems. Debugging proceeding as expected with no issues.

Code is the standard blink example, unmodified! Target: pico2_w SDK :2.2.0

Message is:

warning: could not convert 'main' from the host encoding (CP1252) to UTF-32. This normally should not happen, please file a bug report.

StarflyerAlien avatar Sep 17 '25 12:09 StarflyerAlien

Presumably a message from gdb. Where did you install your tools from? What version? What host system are you running on?

peterharperuk avatar Sep 17 '25 12:09 peterharperuk

Duplicate of https://github.com/raspberrypi/pico-vscode/issues/166 ? ping @will-v-pi

lurch avatar Sep 17 '25 12:09 lurch

Yes, the error message is harmless - it seems to just be a bug in the arm-none-eabi-gdb debugger on Windows

will-v-pi avatar Sep 17 '25 12:09 will-v-pi