Hacker News
new
past
comments
ask
show
jobs
points
by
speedgoose
12 hours ago
|
comments
by
CER10TY
11 hours ago
|
[-]
You can freely specify the encoding when sending multipart/form-data POST since Rails respects the charset attribute in Content-Type, eg Content-Type: text/plain; charset=Windows-1252
reply
by
bloak
11 hours ago
|
parent
|
[-]
So you have to convert ISO-2022-JP, for example? That sounds like a disaster waiting to happen.
reply
by
lmz
11 hours ago
|
parent
|
[-]
Clients have to do the same with server responses.
reply
by
roer
9 hours ago
|
parent
|
[-]
Relevant article about that here:
https://www.sonarsource.com/blog/encoding-differentials-why-...
Browsers stopped auto-detecting ISO-2022-JP for this reason.
reply