neo4j/neo4j — pull request #492 by iKlaus (2013-02-04 11:31:43+00:00)
Title: added missing file.encoding argument to the startup script

I found my local development database to not correctly handle UTF-8 content in properties. In my development environment (OS X 10.8) Neo4j runs under my local user account.
I located the source of that problem in the startup script. On [line 189](https://github.com/neo4j/neo4j/blob/22da14fd09d604af4f53827f48a25fe40e225d01/packaging/standalone/src/main/distribution/shell-scripts/bin/neo4j#L189) the command used when starting with changing users contains the argument ```-Dfile.encoding=UTF-8```. Just below, in the else branch, is the statement to start Neo4j under the current user, which lacks that file.encoding argument.
For some weird reasons Java seems to pick Mac Roman as default charset, when the file encoding isn't specified explicitly.