Opened 16 years ago
Closed 16 years ago
#973 closed defect (fixed)
Apache PHP login failed response does not set character encoding
Reported by: | tomfukushima | Owned by: | tomfukushima |
---|---|---|---|
Priority: | medium | Milestone: | 2.1 |
Component: | AJAX Viewer | Version: | 2.0.2 |
Severity: | major | Keywords: | |
Cc: | External ID: | 969334 |
Description
From localization:
- Create some layout in MG Studio and preview in AJAX or DWF viewer
- Enter incorrect login information into the login dialog
The error message on localized versions is not displayed properly by the browser because the message is sent encoded in UTF-8 but no meta tag with encoding information is sent so the browser doesn't know how to display the text and tries 1252 codepage (or 1250 for Czech) instead.
Could you send the message to the browser in HTML format including the UTF-8 encoding definition? Like for example: <HTML><HEAD><META http-equiv="content-type" content="text/html; charset=UTF-8"></HEAD><BODY>%error_message%</BODY></HTML>
This way the browser would select correct encoding. This particular defect is logged against the "Incorrect login" error but preferably this should be implemented in a global way for all error messages the target of which is the web browser.
r3845