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

Bug 326148

Summary: Javadoc view garbles accents when using ISO-8859-1 encoding
Product: [Eclipse Project] Platform Reporter: Raul Cesar Teixeira <raul.teixeira>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: minor    
Priority: P3 CC: eclipse.felipe
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Raul Cesar Teixeira CLA 2010-09-24 09:54:12 EDT
Build Identifier: I20100608-0911

I have a source file encoded in ISO-8859-1. When I use accents on the javadoc, the javadoc viewer messes up the text.
example: olá becomes olá

I believe the error is in the class MOZILLA in the setText method. 

Reproducible: Always

Steps to Reproduce:
1.Set encoding to ISO-8859-1
2.Create source file, and create a javadoc description of the class using accents (i.e. Olá)
3.Open the javadoc view (window->show view->Javadoc).
The text displayed in the view will be garbeled.
Comment 1 Felipe Heidrich CLA 2010-10-13 11:17:01 EDT
Works for me on Windows. I'll try it on Linux later.
Comment 2 Felipe Heidrich CLA 2010-10-13 11:22:31 EDT
I can see this problem on Linux only in this case:
The file encoding is actually UTF-8
Set the encoding to ISO-8859-1

If I convert the file to ISO-8859-1 it works.

Closing as works for me.

If you think I did something wrong testing your problem please reopen the bug and attach the ISO-8859-1 file that can be used to reproduce the problem. Thank you.