Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Internation chars become ? after saved/closed and reopened
Internation chars become ? after saved/closed and reopened [message #25084] Wed, 30 April 2003 17:15 Go to next message
Eclipse UserFriend
Originally posted by: emerson.tre-sc.gov.br

I'm using Suse 8.1 linux and eclipse 2.1 final release GTK.

Sometime ago i post a question about using portuguese chars in motif
version (eg: çéá, if you can see :), becouse i caouldn't type these
kind of chars. I solved this changing to GTK version. A while ago I
noticed that as the typing was working all right, when the file is saved,
closed and reopened, the portuguese chars became all '?' char. ANd i hate
using those "Ó" char's, what is terrible :)

Does anyone had this problem before or could help me on that???

Thanks in advance
Emerson Cargnin
Re: Internation chars become ? after saved/closed and reopened [message #25208 is a reply to message #25084] Wed, 30 April 2003 17:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: veronika_irvine.oti.com

Sounds like an encoding problem when the file saved.

Try the following:

1)In a shell, type 'locale' to see what the encoding is in the OS
2) In eclipse, there are two places where the enconding is set.
Check Window -> Preferences -> Workbench -> Editors
Check Edit-> Encoding

ISO-8859-1 or Latin1 should work for Portuguese.

"Emerson Cargnin" <emerson@tre-sc.gov.br> wrote in message
news:b8pedu$orb$1@rogue.oti.com...
> I'm using Suse 8.1 linux and eclipse 2.1 final release GTK.
>
> Sometime ago i post a question about using portuguese chars in motif
> version (eg: çéá, if you can see :), becouse i caouldn't type these
> kind of chars. I solved this changing to GTK version. A while ago I
> noticed that as the typing was working all right, when the file is saved,
> closed and reopened, the portuguese chars became all '?' char. ANd i hate
> using those "&Oacute;" char's, what is terrible :)
>
> Does anyone had this problem before or could help me on that???
>
> Thanks in advance
> Emerson Cargnin
>
Re: Internation chars become ? after saved/closed and reopened [message #27594 is a reply to message #25208] Mon, 05 May 2003 13:38 Go to previous message
Eclipse UserFriend
Originally posted by: emerson.tre-sc.gov.br

it appears that locale is not configured. when i typed locale it gave me :

LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=POSIX
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

thanks veronika, i should have search a little bit more : )
other maybe related problem :
when using replace Ant task, it looses the special chars, unless i use
explicitly the encoding="iso-8859-1" property in each replace task, is
there a way to get it done without it?

and thanks for your reply.
Emerson

Veronika Irvine wrote:

> Sounds like an encoding problem when the file saved.

> Try the following:

> 1)In a shell, type 'locale' to see what the encoding is in the OS
> 2) In eclipse, there are two places where the enconding is set.
> Check Window -> Preferences -> Workbench -> Editors
> Check Edit-> Encoding

> ISO-8859-1 or Latin1 should work for Portuguese.

> "Emerson Cargnin" <emerson@tre-sc.gov.br> wrote in message
> news:b8pedu$orb$1@rogue.oti.com...
> > I'm using Suse 8.1 linux and eclipse 2.1 final release GTK.
> >
> > Sometime ago i post a question about using portuguese chars in motif
> > version (eg: çéá, if you can see :), becouse i caouldn't type these
> > kind of chars. I solved this changing to GTK version. A while ago I
> > noticed that as the typing was working all right, when the file is saved,
> > closed and reopened, the portuguese chars became all '?' char. ANd i hate
> > using those "Ó" char's, what is terrible :)
> >
> > Does anyone had this problem before or could help me on that???
> >
> > Thanks in advance
> > Emerson Cargnin
> >
Previous Topic:NoClassDefFoundError on new InitialContex()
Next Topic:dosplaying error icons for files
Goto Forum:
  


Current Time: Fri Apr 25 19:39:23 EDT 2025

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

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

Back to the top