Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354350 - SWT: SwtScoutHtmlField has encoding problems if HTML document contains Content-Type other than UTF-8
Summary: SWT: SwtScoutHtmlField has encoding problems if HTML document contains Conten...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 05:27 EDT by Andi Bur CLA
Modified: 2021-08-19 11:33 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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