Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Properties File Encoding
Properties File Encoding [message #79853] Wed, 22 June 2005 20:37 Go to next message
Eclipse UserFriend
Originally posted by: atait.idexx.com

I am unable to find settings in Eclipse preferences that will enable proper
handling of UTF-8 chatacters in *.properteis files. It seems that setting
"text file encoding" for workbench editors would solve this but does not.
When multi byte characteers are saved, and file is reopened, the characters
are mangled

Thanks
Re: Properties File Encoding [message #79969 is a reply to message #79853] Thu, 23 June 2005 09:25 Go to previous messageGo to next message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
*.properties files are Latin1 (ISO-8859-1) encoded by definition.

-tom

Allen wrote:
> I am unable to find settings in Eclipse preferences that will enable proper
> handling of UTF-8 chatacters in *.properteis files. It seems that setting
> "text file encoding" for workbench editors would solve this but does not.
> When multi byte characteers are saved, and file is reopened, the characters
> are mangled
>
> Thanks
>
>
Re: Properties File Encoding [message #83175 is a reply to message #79969] Tue, 05 July 2005 10:33 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Tom Eicher wrote:

> *.properties files are Latin1 (ISO-8859-1) encoded by definition.

Well, yes in the Java world ;-)

In Eclipse 3.1 there's a Java properties content type which defines
ISO-8859-1 as its default encoding. You can change this under:
Preferences > General > Content Types.

Dani

>
> -tom
>
> Allen wrote:
>
>> I am unable to find settings in Eclipse preferences that will enable
>> proper handling of UTF-8 chatacters in *.properteis files. It seems
>> that setting "text file encoding" for workbench editors would solve
>> this but does not. When multi byte characteers are saved, and file is
>> reopened, the characters are mangled
>>
>> Thanks
>>
Previous Topic:Number of undo's
Next Topic:Folding...
Goto Forum:
  


Current Time: Sat Jan 29 03:45:22 GMT 2022

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

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

Back to the top