Opened 15 years ago

Closed 15 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:

  1. Create some layout in MG Studio and preview in AJAX or DWF viewer
  2. 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.

Change History (1)

comment:1 by tomfukushima, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.