Accented Character confusion [message #693942] |
Thu, 07 July 2011 14:13  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds