Skip to content

Commit 80dde47

Browse files
authored
Merge pull request #409 from ut-code/fix-critical-typo-new
URIエンコードです。URLエンコードではないです
2 parents d6f76d9 + 95d58f2 commit 80dde47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/3-web-servers/06-form/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ JSON は「JavaScript Object Notation」の略で JavaScript のオブジェク
5656

5757
:::tip URL として使用できない文字の対処方法
5858

59-
URL として使用できない文字(日本語文字など)は[URL エンコード](https://ja.wikipedia.org/wiki/%E3%83%91%E3%83%BC%E3%82%BB%E3%83%B3%E3%83%88%E3%82%A8%E3%83%B3%E3%82%B3%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0)する必要があります。JavaScript なら `encodeURIComponent` 関数で変換できます。
59+
URL として使用できない文字(日本語文字など)は[URI エンコード](https://ja.wikipedia.org/wiki/%E3%83%91%E3%83%BC%E3%82%BB%E3%83%B3%E3%83%88%E3%82%A8%E3%83%B3%E3%82%B3%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0)する必要があります。JavaScript なら `encodeURIComponent` 関数で変換できます。
6060

6161
```javascript
6262
encodeURIComponent("日本語"); // "%E6%97%A5%E6%9C%AC%E8%AA%9E"

0 commit comments

Comments
 (0)