Eclpse 環境編碼設定 :
1. Window > Preferences > General > Content Types > Text > 所有都在Defult encodeing那邊改成UTF-8
2. 同上到General後
3. 同上到 Preferences > Web
4. Html , JSP 等也一樣步驟
5. 在 Servers 中選取 server.xml
在 <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>中 加入 useBodyEncodingForURI="true"
沒有留言:
張貼留言