[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Browser Widget broken?

Hi Kalman,

You should comment out the meta charset tag in the snippet below:
"<meta http-equiv=\"Content-Type\" content=\"text/html; 
charset=iso-8859-1\">\n" +

The javadoc of Browser.setText explains why:
 * The html parameter is Unicode encoded since it is a java 
<code>String</code>.
 * As a result, the HTML meta tag charset should not be set. The charset is 
implied
 * by the <code>String</code> itself.

If this does not fix it for you, please open a bug report.

Thanks,
Chris