Ad

How To Set Japanes Character In Request Header

- 1 answer

I am trying to set a custom header, everything works fine untill I set the header value with a Japanese string.enter image description here

Can anyone help me how to allow the Japanese value in header

System: Laravel + PHP 7 + Apache server

Ad

Answer

This question is answered in the link below. But the short answer is that it probably isn't going to work as HTTP headers were primarily designed with ASCII in mind. That said, if you control all the services end to end, you might be able to modify them to accept what you want.

Can I use Unicode characters in HTTP headers?

Ad
source: stackoverflow.com
Ad