如下範例,使用encodeURI 與decodeURI 將中文字串做UTF-8 編碼和對編碼後的結果做解碼。 const encodedStr = encodeURI('這是中文字串 ...
確定! 回上一頁