Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326148 - Javadoc view garbles accents when using ISO-8859-1 encoding
Summary: Javadoc view garbles accents when using ISO-8859-1 encoding
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 09:54 EDT by Raul Cesar Teixeira CLA
Modified: 2010-10-13 11:22 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 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.