瀏覽器中的中文 --經過 encodeURIComponent() --> UTF-8 碼
--經過 Tomcat 編碼 --> ISO-8859-1(UTF-8)
--經過 servlet 的 getBytes("ISO-8859-1") 以 ISO8859-1 的方式解讀 URL
--再經過 new String(..., "UTF-8") 設定以 UTF-8 解讀該字串(即中文)
瀏覽器中的中文 --經過 encodeURIComponent() --> UTF-8 碼
--經過 Tomcat 編碼 --> ISO-8859-1(UTF-8)
--經過 servlet 的 getBytes("ISO-8859-1") 以 ISO8859-1 的方式解讀 URL
--再經過 new String(..., "UTF-8") 設定以 UTF-8 解讀該字串(即中文)
一.Vue文件內容 <template> </template> <script> </script> <style> </style>