[mapguide-trac] #973: Apache PHP login failed response does not set character encoding

MapGuide Open Source trac_mapguide at osgeo.org
Mon Apr 27 17:20:37 EDT 2009


#973: Apache PHP login failed response does not set character encoding
----------------------------+-----------------------------------------------
   Reporter:  tomfukushima  |       Owner:  tomfukushima
       Type:  defect        |      Status:  new         
   Priority:  medium        |   Milestone:  2.1         
  Component:  AJAX Viewer   |     Version:  2.0.2       
   Severity:  major         |    Keywords:              
External_id:  969334        |  
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/973>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list