hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: utf8 in the code/comments
Date Tue, 12 Dec 2006 11:26:21 GMT
On Tue, 2006-12-12 at 09:33 +0100, Ortwin Gl├╝ck wrote:
> 
> Julius Davies wrote:
> > Roland,
> > 
> > Sorry to muddy the waters.  It would be really nice if we could assume 
> > UTF-8
> > for everything.
> 
> Would be nice. The question is how well does it integrate with our IDEs. 
> There is no point using UTF-8 for .java files if it breaks every second day.
> Java files can not specify their encoding inline (contrary to XML for 
> instance), so the encoding in use must be stored in some other meta-data 
> place. The Eclipse .project file provides such a place, but are 
> currently not in SVN for all projects. But I know that Roland prefers 
> Emacs (of which I know nothing). Then there is diff/patch whose 
> behvaiour probably depends on environment variables. If we don't want to 
> make development a hell, then please let's use the least common 
> denominator.
> 
> Ortwin
> 

I agree with Odi, IDEs tend to be the largest troublemakers when it
comes to using non US-ASCII charsets in java source files. We should
assume UTF-8 encoding per default but nonetheless make an effort to
escape all 'funny' characters just in case.

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message