Hello
I'm trying to log some events via ESP_LOGI API and for some reason the output is in chinese (see attached output_ch.png file below).
First I saw the output in chinese so i did some researched on the net about this issue and i found that
going to menuconfig/Log output chapter from "Command palette" and selecting verbose on "Default log verbosity" parameter to see all logs events might fix the issue so i gave it go and it did work( see attached output_en.png file below ) but then i just wanted to make sure that this was the issue so i set "Default log verbosity" parameter back to info(as it was initially) and yes the output was in chinese again so then i changed it to verbose again but this time the output was still in chinese.
can anyone help with this?
By the way, I'm using visual studio code with the ESP-IDF( ESP-IDF v5.1.2-dirty) extension installed.
Regards
LOGs output in Chinese
LOGs output in Chinese
- Attachments
-
- output_en.png (29.37 KiB) Viewed 857 times
-
- output_ch.png (30.95 KiB) Viewed 857 times
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: LOGs output in Chinese
That's actually Japanese, not Chinese, as far as I can tell. I think at some point in time, your program outputs some sequence of unprintable characters making your terminal program think the output is shift-JIS or something and displays it as such.
-
- Posts: 1
- Joined: Fri Mar 01, 2024 2:44 am
Re: LOGs output in Chinese
Changing the out to Shift-JIS fixed this issue for me.
Who is online
Users browsing this forum: Gilbert, Google [Bot] and 113 guests