[docs] [issue18713] Clearly document the use of PYTHONIOENCODING to set surrogateescape