Home >Backend Development >PHP Tutorial >How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-09-15 11:30:571043browse

How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

Reply content:

How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

How to solve the problem when php sends an email and the nearby csv is displayed as garbled characters?

Set the encoding format of the .csv file to ANSI.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn