Skip to main content



      Home
Home » Newcomers » Newcomers » UTF-8 in console
UTF-8 in console [message #258138] Wed, 11 June 2008 11:11 Go to next message
Eclipse UserFriend
Originally posted by: fdelente.mail.cpod.fr

Hello.

I'm using Eclipse 3.4.0 under linux and I can't get UTF-8 chars to display
correctly in the console (I'm getting ?? instead of the char I'm expecting).

I didn't see any option for that in the preferences. I tried using an
iso10646 font for the console text, but it didn't help.

Any hint? Thanks!

--
Fabrice DELENTE
Re: UTF-8 in console [message #258203 is a reply to message #258138] Wed, 11 June 2008 19:39 Go to previous messageGo to next message
Eclipse UserFriend
I believe you need to set the Console Encoding to UTF-8 on the Common tab of
your launch configuration.

HTH
Darins
http://runnerwhocodes.blogspot.com

<fdelente@mail.cpod.fr> wrote in message
news:g2opva$g9j$1@build.eclipse.org...
> Hello.
>
> I'm using Eclipse 3.4.0 under linux and I can't get UTF-8 chars to display
> correctly in the console (I'm getting ?? instead of the char I'm
> expecting).
>
> I didn't see any option for that in the preferences. I tried using an
> iso10646 font for the console text, but it didn't help.
>
> Any hint? Thanks!
>
> --
> Fabrice DELENTE
Re: UTF-8 in console [message #258227 is a reply to message #258203] Thu, 12 June 2008 01:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fdelente.mail.cpod.fr

Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
> I believe you need to set the Console Encoding to UTF-8 on the Common tab of
> your launch configuration.

Thanks for your help.

I tried it, but I still get 'unit?' instead of 'unité' (with an e-grave) in
the console.

--
Fabrice DELENTE
Re: UTF-8 in console [message #258235 is a reply to message #258227] Thu, 12 June 2008 04:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig146CBC5776AD1DFD2BEBAF0C
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

fdelente@mail.cpod.fr schreef:
> Darin Swanson <Darin_Swanson@us.ibm.com> wrote:
>> I believe you need to set the Console Encoding to UTF-8 on the Common =
tab of=20
>> your launch configuration.
>=20
> Thanks for your help.
>=20
> I tried it, but I still get 'unit?' instead of 'unit=C3=A9' (with an e-=
grave) in
> the console.

Did you go Run =E2=86=92 Run=E2=80=A6 =E2=86=92 <choose configuration> =E2=
=86=92 Common =E2=86=92 Console encoding?

Works for me. If this doesn=E2=80=99t work, make sure you *are* outputti=
ng Unicode.

H.
--=20
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


--------------enig146CBC5776AD1DFD2BEBAF0C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIUNnWe+7xMGD3itQRAmQwAJ4h3ojPzMPEvH9fVzZd44SjJmNCLQCf YGnQ
Fbd9bZBJ5Bcg0X989GiytDk=
=kqJP
-----END PGP SIGNATURE-----

--------------enig146CBC5776AD1DFD2BEBAF0C--
Re: UTF-8 in console [message #258239 is a reply to message #258138] Thu, 12 June 2008 04:37 Go to previous messageGo to next message
Eclipse UserFriend
fdelente@mail.cpod.fr wrote:
> Hello.
>
> I'm using Eclipse 3.4.0 under linux and I can't get UTF-8 chars to display
> correctly in the console (I'm getting ?? instead of the char I'm expecting).
>
> I didn't see any option for that in the preferences.
Unless you changed the encoding you shouldn't need to specify any option
since UTF-8 is the default under Linux. Just make sure that your font
can handle the special chars.

Dani
> I tried using an
> iso10646 font for the console text, but it didn't help.
>
> Any hint? Thanks!
>
>
Re: UTF-8 in console [message #258311 is a reply to message #258239] Thu, 12 June 2008 14:47 Go to previous message
Eclipse UserFriend
Originally posted by: fdelente.mail.cpod.fr

Daniel Megert <daniel_megert@ch.ibm.com> wrote:
> Unless you changed the encoding you shouldn't need to specify any option
> since UTF-8 is the default under Linux. Just make sure that your font
> can handle the special chars.

I tried with code2000 even though it's not proportional, but at least it is
UTF-8; an dnow I can see the accentuated characters.

Thanks all for your help !

--
Fabrice DELENTE
Previous Topic:Installation of Eclipse in x64 Vista OS Not success
Next Topic:unittest with eclipse plugin
Goto Forum:
  


Current Time: Fri May 09 10:21:52 EDT 2025

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

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

Back to the top