docs: adds to build_docs.py an encoding check suitable for windows
docs: adds to build_docs.py an encoding check suitable for windows

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf