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

Bug 354350

Summary: SWT: SwtScoutHtmlField has encoding problems if HTML document contains Content-Type other than UTF-8
Product: z_Archived Reporter: Andi Bur <andi.bur>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andi Bur CLA 2011-08-10 05:27:54 EDT
The SwtScoutHtmlField transforms the document to display into an UTF-8 encoded byte array. If the transformed document contains a meta-tag "Content-Type" defining an encoding other than UTF-8 or if the default encoding of the underlying (default) browser is not UTF-8, invalid characters may displayed.

Expected behavior: The document to be displayed should be augmented by a UTF-8 Content-Type definition of a possibly already existing one should be rewritten.
Comment 1 Andi Bur CLA 2011-08-10 07:12:30 EDT
The document to be displayed is augmented by an UTF-8 Content-Type definition. A possibly already existing one is rewritten.
Comment 2 Matthias Zimmermann CLA 2011-10-10 13:05:19 EDT
shipped with scout 3.7.1