您可以在将logsPath传递给视图之前对其进行编码,并在检索内容时对其进行解码
logsPath = "C:abcdefght";logsPath = URLEnprer.enpre(logsPath, "UTF-8"); // Or "ISO-8859-1"

您可以在将logsPath传递给视图之前对其进行编码,并在检索内容时对其进行解码
logsPath = "C:abcdefght";logsPath = URLEnprer.enpre(logsPath, "UTF-8"); // Or "ISO-8859-1"