我用 python 搭配 cgi,寫了轉網址程式,
會把結果傳遞到 google 表單,我傳遞中文字,例如傳"測試"二字,
為何經過 python 處理,到 google 表單上,就變成奇怪的亂碼,
print "<meta http-equiv=\"refresh\" content=\"0;
url=https://docs.google.com/spreadsheet/formResponse?formkey=dFNJN&entry.4.single=測試\">"
但是我如果是在瀏覽器上直接打
https://docs.google.com/spreadsheet/formResponse?formkey=dFNJN&entry.4.single=測試
傳到 google 表單上,卻又是正確的"測試"二字
請教版上大大,這種問題有甚麼方法可以解決呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.230.52.246
推
12/02 22:29, , 1F
12/02 22:29, 1F
→
12/04 07:40, , 2F
12/04 07:40, 2F