A tag download word document garbled problem

<a href="word/temp.doc"><a>

the word document is placed under the project folder, and it is normal to open it locally. Garbled code appears after downloading using href, as shown in the following figure. Even if you try to change the code, what is going on?

Dec.22,2021

if it is a HTML page, write code:
< meta charset= "utf-8" >
if it is CSS style, write code:
@ charset "utf-8";

or you can try this:
download


it is recommended that you download the document using ajax.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea194a-1b6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea194a-1b6a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?