Is this functionality expected from users from Japanese / Chinese?
Yes.
Is it easy to do, or is it fraught with danger?
There is a problem. If you serve files directly or otherwise have the file name in the URL (for example: http://www.example.com/files/ γ γ γ« γ‘ γ― .txt β http://www.example.com/files/ % E3% 81% 93% E3% 82% 93% E3% 81% AB% E3% 81% A1% E3% 81% AF.txt), you are generally fine.
But if you submit files with the file name generated by the script, you may have problems. The problem is with the header:
Content-Disposition: attachment;filename="γγγ«γ‘γ―.txt"
? , UTF-8. . IE, HTTP. Windows cp1252 (Latin-1) cp932 (Shift-JIS) - , UTF-8, , .
: ? , . HTTP RFC2616 , HTTP - ISO-8859-1, . , -1 RFC2047, RFC2047 , . RFC822 RFC2231 Unicode Content-Disposition (RFC2183), RFC2616 RFC2183 . HTTP RFC822, 822. , - , , , , , . , " " _ = "..." , .
, -ASCII- , , "filename" , , URL-.
?
, .
Windows , - , ASCII.
, : , , -ASCII . , , , (Han ..) .
, , , "42" ".txt" . , "Unicode Normal Form NFKC", - .