Page 1 of 1
请问 ESP-ADF的 源文件是什么什么格式的编码?
Posted: Mon Jul 30, 2018 12:53 am
by mkseven32
请问 大家, 我使用source insight 导入 ESP32-ADF的 SDK, 发现中文字体显示乱码,请问 ESP-ADF的 源文件是什么什么格式的编码?
hi does anybody know what is coded format of ESP32-ADF files, while i import the SDK into Source Insight, the chinese part always be digital gibberish~~~
Re: 请问 ESP-ADF的 源文件是什么什么格式的编码?
Posted: Mon Jul 30, 2018 1:07 am
by ESP_Sprite
ESP-ADF is partially delivered as compiled code (not open-source); you shouldn't open these files in your editoe.
Re: 请问 ESP-ADF的 源文件是什么什么格式的编码?
Posted: Mon Jul 30, 2018 1:57 am
by mkseven32
oops, maybe i have not make it clearly!
what i have mean is the file default encoding !
the chinese txt in the c file is showing messy ~~~~like the below picture
so what the default encode should i chose for showing the chinese ?
Re: 请问 ESP-ADF的 源文件是什么什么格式的编码?
Posted: Mon Jul 30, 2018 5:37 am
by ESP_igrr
https://github.com/espressif/esp-adf/bl ... _example.c and other source files are in UTF-8 (without BOM) encoding.
Re: 请问 ESP-ADF的 源文件是什么什么格式的编码?
Posted: Mon Jul 30, 2018 6:53 am
by mkseven32
thanks !
maybe source insight 4.0 do not support UTF8 without BOM!
I always set file encode as UTF8 without BOM, but it always shows as messy code !
it seems that it is the problem of the software!