neo4j-jdbc icon indicating copy to clipboard operation
neo4j-jdbc copied to clipboard

error with query result include Chinese chars

Open fictionking opened this issue 12 years ago • 2 comments

Chinese chars use UTF-8 encode

fictionking avatar Jul 23 '12 09:07 fictionking

Can you provide an example or unit test? Thanks

jexp avatar Jul 23 '12 18:07 jexp

I fixed this bug. Modify neo4j jdbc driver source code like below... --File:org.neo4j.jdbc.rest.RestQueryExecutor.java executeQuery() {      ....      Representation rep=resource.post(queryNode.toString()); //add line below      rep.setCharacterSet(new CharacterSet("utf-8"));      .... }

fictionking avatar Jul 25 '12 07:07 fictionking