Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Accented Character confusion
Accented Character confusion [message #693942] Thu, 07 July 2011 14:13 Go to next message
Reinhardt Christiansen is currently offline Reinhardt ChristiansenFriend
Messages: 73
Registered: March 2010
Member
Can anyone remind me about the best settings to use within Eclipse so that I can use accented characters and have them displayed correctly?

My current project is supposed to generate resumes and the word 'resume' occurs regularly in my source code, comments, and in files generated by the project. I'd like to be able to use 'resume' with acute accents over both 'e's widely and have them rendered that way rather than as small empty squares.

What is my best way to do that? I vaguely remember that there were some settings in Preferences somewhere that would let an accented 'e' display that way.

Related question: One of the things generated by my project is a resume in HTML format that should actually include the word "resume" (with the accents). I'm using this in the HTML:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


but my accented 'e's are being displayed as black diamonds containing a white question mark. What do I need to add or change to get the accented 'e' to display correctly?

Re: Accented Character confusion [message #695802 is a reply to message #693942] Tue, 12 July 2011 14:24 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 07.07.2011 16:13, forums-noreply@eclipse.org wrote:
> Can anyone remind me about the best settings to use within Eclipse so
> that I can use accented characters and have them displayed correctly?
>
> My current project is supposed to generate resumes and the word
> 'resume' occurs regularly in my source code, comments, and in files
> generated by the project. I'd like to be able to use 'resume' with
> acute accents over both 'e's widely and have them rendered that way
> rather than as small empty squares.
> What is my best way to do that? I vaguely remember that there were
> some settings in Preferences somewhere that would let an accented 'e'
> display that way.
Two things: you need to make sure that you use a font which contains the
accented characters and you need to use an encoding that supports it.
You can set the encoding for the workspace but it's better to set it on
the project so that this information is shared.
>
> Related question: One of the things generated by my project is a
> resume in HTML format that should actually include the word "resume"
> (with the accents). I'm using this in the HTML:
>
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>
> but my accented 'e's are being displayed as black diamonds containing
> a white question mark. What do I need to add or change to get the
> accented 'e' to display correctly?
It depends which editor you are using and what plug-ins you have
installed. The Eclipse SDK without additional plug-ins doesn't have
support for HTML and hence it won't be able to detect the encoding from
the HTML file contents. Not sure whether WTP helps you with this.

Dani
>
>
Previous Topic:eclipse debugger - show only suspended threads
Next Topic:Block comment format feature disappeared
Goto Forum:
  


Current Time: Fri Apr 26 01:14:22 GMT 2024

Powered by FUDForum. Page generated in 0.02737 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top