@kyanny's blog

My thoughts, my life. Views/opinions are my own.

2015-11-02から1日間の記事一覧

FORM 要素の accept-charset 属性について

以下の HTML があるとき、 <html> <head> <meta charset="utf-8"> </head> <body> <form action="http://localhost:9292" method="post" accept-charset="shift_jis"> <input type="text" name="key1" value="ほげ"> <button>submit</button> </form> </body> </html> このフォームを提出すると、ユーザエージェントはサーバに対し "ほげ" を Shift_JIS…