You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When outputting a JS file that contains the mootools more form validation components, the UTF-8 encoding doesn't come down as UTF (and thus is garbled) since the charset isn't defined for the Content-Type header.
When outputting a JS file that contains the mootools more form validation components, the UTF-8 encoding doesn't come down as UTF (and thus is garbled) since the charset isn't defined for the Content-Type header.
Possible fix (works for me), change this line:
header("Content-Type: application/x-javascript");
to:
header("Content-Type: application/x-javascript; charset=UTF-8");
The text was updated successfully, but these errors were encountered: