You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sis.apache.org by Martin Desruisseaux <ma...@geomatys.fr> on 2012/10/01 11:38:44 UTC

Unicode is source code okay?

Can I assume that the IDE of everyone is capable to handle unicode 
characters? I tend to use unicode a lot for drawing tables, trees, etc. 
Code are easier to read if we can write "└─ some node" instead than 
"\u2514\u2500 some node" in the Java source files. I also like to use 
the standard latitude and longitudes symbols, φ and λ, as local variables...

Martin


Re: Unicode in source code okay?

Posted by Martin Desruisseaux <ma...@geomatys.fr>.
Thanks! I went away, we will see if this is an issue for some users.

The UTF-8 encoding is already specified in Maven pom.xml and in NetBeans 
project configurations. So at least the Maven build should be nice on 
every platforms.

     Martin


Le 01/10/12 18:41, Mattmann, Chris A (388J) a écrit :
> I think that works OK for me. We can set svn:eol-style native, and also set text file
> encoding to UTF-8, I believe that would work.


Re: Unicode is source code okay?

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Martin,

I think that works OK for me. We can set svn:eol-style native, and also set text file
encoding to UTF-8, I believe that would work.

Thanks!

Cheers,
Chris

On Oct 1, 2012, at 10:38 AM, Martin Desruisseaux wrote:

> Can I assume that the IDE of everyone is capable to handle unicode characters? I tend to use unicode a lot for drawing tables, trees, etc. Code are easier to read if we can write "└─ some node" instead than "\u2514\u2500 some node" in the Java source files. I also like to use the standard latitude and longitudes symbols, φ and λ, as local variables...
> 
> Martin
> 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++