Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cp1252 in windows and reading it in Linux(encoding issues)
Cp1252 in windows and reading it in Linux [message #870015] Sat, 05 May 2012 13:02 Go to next message
kevin  is currently offline kevin
Messages: 5
Registered: March 2010
Junior Member
Hi,
I use eclipse in windows with
Cp1252 encoding;
No when I try to read in Linux the files I edited in windows
I get gibrish in some places.

Can I have in Linux an encoding which will read these Cp1252 files?
I tried all the encodings I have in Linux, but in all of them I had
gibrish.

Any ideas ? is it possible to have Cp1252 encoding (or Cp1252 compatible encoding)
in Linux ?

rgs,
Kevin
Re: Cp1252 in windows and reading it in Linux [message #870150 is a reply to message #870015] Mon, 07 May 2012 00:29 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 1847
Registered: July 2009
Senior Member
Is there a reason you don't change to an encoding that is supported on Linux, such as UTF-8 or ISO8859-1?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Cp1252 in windows and reading it in Linux [message #870179 is a reply to message #870015] Mon, 07 May 2012 03:28 Go to previous message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 05.05.2012 19:02, kevin wrote:
> Hi,
> I use eclipse in windows with Cp1252 encoding;
> No when I try to read in Linux the files I edited in windows
> I get gibrish in some places.
>
> Can I have in Linux an encoding which will read these Cp1252 files?
> I tried all the encodings I have in Linux, but in all of them I had
> gibrish.
>
> Any ideas ? is it possible to have Cp1252 encoding (or Cp1252
> compatible encoding)
> in Linux ?
Yes, most VMs support that encoding on Linux. The encoding might not be
available in the drop-down, but you can simply enter the name via keyboard.

Also note, that if you use/share a project on different OSes, it is
recommended to set the encoding on the project. That will make sure that
the same encoding is automatically used.

Dani
> rgs,
> Kevin
>
Previous Topic:Snippets! Can they be global?
Next Topic:Eclipse crash opening workspace
Goto Forum:
  


Current Time: Wed May 22 13:00:09 EDT 2013

Powered by FUDForum. Page generated in 0.02395 seconds