Ask a question
Help: Cgi cannot display Chinese (written in shell)
My files are stored in the test.cgi, /usr/local/apache2/cgi-bin/, as follows:
echo Content-type: text/html; charset=gb2312
echo "<title>sophia test file</title>"
echo "<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />"
echo "This is a test CGI"
But the use of https://localhost/cgi-bin/test.cgi access, Chinese cannot display, display garbled,
Please master to help out where the error
Thank you very much
November 18, 2016 - 7:39 PM
You try to have a look at the webpage there right -> code; -> simplified Chinese(GB2312)
November 27, 2016 - 8:31 PM
More than 10,000 Technical Questions Answered on Programering!
Ask A Question
multi-cursor in aptana studio
How to pass parameter between @ExtDirectMethods