Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Characters cannot be mapped
Characters cannot be mapped [message #201997] Wed, 28 March 2007 14:28 Go to next message
Eclipse User
Originally posted by: chris.riley.cra-arc.gc.ca

Hello! Newcommer here. Not sure if this is the correct forum for this. I
hope someone will direct me if I have posted this to the wrong place.

I've noticed that Eclipse (version 3.2.1) won't allow me to save a web
file who's special characters are not compliant with the character coding
that has been declared for that web page file.

Eclipse pops up a message informing me that some characters cannot be
mapped to ISO-8859-1 (this is the character encoding I use for my web
pages). And, I can't save the file until I clean up those bad characters.

It's a featuer I don't need since I use a HTML validator that will point
out these bad characters, AND tell me exactly which ones they are and
where they are located in the file. Eclipse doesn't do that.

Is there a way to turn this off so that I can save in Eclipse, regardless?

Much thanx,
Chris
Re: Characters cannot be mapped [message #202005 is a reply to message #201997] Wed, 28 March 2007 14:43 Go to previous messageGo to next message
Eclipse User
Originally posted by: merks.ca.ibm.com

Chris,

This sounds likely to be a question about tools provided by WTP. I'm
pretty sure there are ways to turn off the validators (probably via
preference) but I don't know how. I've added the WTP newsgroup to the
"to" list, so hopefully someone will see it in that newsgroup and answer.


Chris Riley wrote:
> Hello! Newcommer here. Not sure if this is the correct forum for this.
> I hope someone will direct me if I have posted this to the wrong place.
>
> I've noticed that Eclipse (version 3.2.1) won't allow me to save a web
> file who's special characters are not compliant with the character
> coding that has been declared for that web page file.
>
> Eclipse pops up a message informing me that some characters cannot be
> mapped to ISO-8859-1 (this is the character encoding I use for my web
> pages). And, I can't save the file until I clean up those bad characters.
>
> It's a featuer I don't need since I use a HTML validator that will
> point out these bad characters, AND tell me exactly which ones they
> are and where they are located in the file. Eclipse doesn't do that.
>
> Is there a way to turn this off so that I can save in Eclipse,
> regardless?
>
> Much thanx,
> Chris
>
>
Re: Characters cannot be mapped [message #202179 is a reply to message #202005] Thu, 29 March 2007 10:05 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Ed Merks wrote:

> Chris,
>
> This sounds likely to be a question about tools provided by WTP. I'm
> pretty sure there are ways to turn off the validators

Nope, as upon save using the wrong encoding the character(s) would be
destroyed. Either use a different encoding or valid characters.

Dani

> (probably via preference) but I don't know how. I've added the WTP
> newsgroup to the "to" list, so hopefully someone will see it in that
> newsgroup and answer.
>
>
> Chris Riley wrote:
>
>> Hello! Newcommer here. Not sure if this is the correct forum for
>> this. I hope someone will direct me if I have posted this to the
>> wrong place.
>>
>> I've noticed that Eclipse (version 3.2.1) won't allow me to save a
>> web file who's special characters are not compliant with the
>> character coding that has been declared for that web page file.
>>
>> Eclipse pops up a message informing me that some characters cannot be
>> mapped to ISO-8859-1 (this is the character encoding I use for my web
>> pages). And, I can't save the file until I clean up those bad
>> characters.
>>
>> It's a featuer I don't need since I use a HTML validator that will
>> point out these bad characters, AND tell me exactly which ones they
>> are and where they are located in the file. Eclipse doesn't do that.
>>
>> Is there a way to turn this off so that I can save in Eclipse,
>> regardless?
>>
>> Much thanx,
>> Chris
>>
>>
Re: Characters cannot be mapped [message #202220 is a reply to message #202179] Thu, 29 March 2007 14:45 Go to previous messageGo to next message
Eclipse User
Originally posted by: chris.riley.cra-arc.gc.ca

Thanx folks.
Re: Characters cannot be mapped [message #202478 is a reply to message #202179] Fri, 30 March 2007 17:54 Go to previous messageGo to next message
Eclipse User
Originally posted by: chris.riley.cra-arc.gc.ca

> Nope, as upon save using the wrong encoding the character(s) would be
> destroyed. Either use a different encoding or valid characters.

> Dani

Dani, I don't think you understand: there is no "upon save" in my scenario.

Using a different character encoding on the web pages is not an option.

It's not that I'm trying to add invalid characters.

I'm not dissing Eclipse at all here, rather making a recommendation:
Eclipse should allow files to be saved ragardless of characters. The
function, in its current state, only goes part way in to the realm of
"character validation". If the developers want to implement validation in
Eclipse, it should be expanded to include, for example, highlighting the
lines where the bad characters exists, and underlining the offending
characters, rather than just refusing to save.
Re: Characters cannot be mapped [message #202491 is a reply to message #202478] Fri, 30 March 2007 18:33 Go to previous messageGo to next message
Mark Hutchinson is currently offline Mark Hutchinson
Messages: 53
Registered: July 2009
Member
Chris Riley wrote:
>> Nope, as upon save using the wrong encoding the character(s) would be
>> destroyed. Either use a different encoding or valid characters.
>
>> Dani
>
> Dani, I don't think you understand: there is no "upon save" in my scenario.
>
> Using a different character encoding on the web pages is not an option.
>
> It's not that I'm trying to add invalid characters.
>
> I'm not dissing Eclipse at all here, rather making a recommendation:
> Eclipse should allow files to be saved ragardless of characters. The
> function, in its current state, only goes part way in to the realm of
> "character validation". If the developers want to implement validation
> in Eclipse, it should be expanded to include, for example, highlighting
> the lines where the bad characters exists, and underlining the offending
> characters, rather than just refusing to save.
>

I'm not sure if it will solve your problem but you could try turning off
the validator under window > preferences > validation.
Re: Characters cannot be mapped [message #203023 is a reply to message #202491] Tue, 03 April 2007 16:52 Go to previous message
Eclipse User
Originally posted by: chris.riley.cra-arc.gc.ca

Thanx Mark, but no go.

Chris
Previous Topic:Eclipse SDK on Suse linux
Next Topic:Setting initial position of a PopupDialog
Goto Forum:
  


Current Time: Fri Sep 19 08:09:25 GMT 2014

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

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