Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 231185

Summary: [Clean the Graffiti] Portal pages encoded with Big5 causes rendering issues
Product: Community Reporter: Gabe O'Brien <gabe.obrien>
Component: Project Management & PortalAssignee: Portal Bugzilla Dummy Inbox <portal-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: karl.matthias
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Big5 encoding (wrong)
none
UT-8 Encoding (right)
none
Error in Molly Code's name in email none

Description Gabe O'Brien CLA 2008-05-08 15:13:40 EDT
While working on the 'Super Fantastic Submissions System' addition to the Portal I discovered that the Portals web pages are encoding with Big5 and not UTF-8.  The Big5 encoding causes non English characters like accented vowels, Japanese, Chinese and so on, to no be rendered properly.

To fix this I added the line below to $extraHtmlHeaders in portal.php.
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />

See the attached screens shots for the comparison. If you have any interest in reading up on PHP and page encoding see the link below.

LINK:
http://www.phpwact.org/php/i18n/charsets
Comment 1 Gabe O'Brien CLA 2008-05-08 15:14:13 EDT
Created attachment 99359 [details]
Big5 encoding (wrong)
Comment 2 Gabe O'Brien CLA 2008-05-08 15:14:53 EDT
Created attachment 99360 [details]
UT-8 Encoding (right)
Comment 3 Gabe O'Brien CLA 2008-05-08 15:19:09 EDT
Code has been checked in to CVS and will be live with the next release of the Portal.  I am marking this bug as 'fixed'.  If you see any issues related to this fix please reopen and comment.
Comment 4 Karl Matthias CLA 2008-05-08 15:24:51 EDT
+1
Comment 5 Karl Matthias CLA 2008-05-12 12:22:40 EDT
Released or closed Friday in STAGING_215.  Please see final comments for actual resolution status.  This notice does not imply any resolution other than that already stated.
Comment 6 Karl Matthias CLA 2008-05-12 19:10:44 EDT
There is now something wrong with the encoding in the display (and probably sending) of text emails.  See screenshot.  Re-opening.
Comment 7 Karl Matthias CLA 2008-05-12 19:11:29 EDT
Created attachment 99843 [details]
Error in Molly Code's name in email
Comment 8 Gabe O'Brien CLA 2008-05-13 15:07:07 EDT
The test pages were still being encoded with Big5, which is now fixed in code and will be live with next roll out of the portal.

The issue with the screen shot has more to do with sending plain text versus HTML emails, so I made bug #231185 block this bug.  The tests all had the odd '=?utf-8=' string before I made any of the changes from Big5 to UTF8. 
Comment 9 Wayne Beaton CLA 2011-11-11 14:46:27 EST
We are no longer making significant changes in the existing portal. Marking as WONTFIX.