hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jokang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2137) JDBC driver doesn't encode string properly.
Date Tue, 28 Aug 2012 09:29:08 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443045#comment-13443045
] 

jokang commented on HIVE-2137:
------------------------------

I have ran into the same trouble. Thank you for your patches.
But, I think I had found some way easier to solve the problem by setting your encoding of
.class files when compiling the source files. 
here is the command:
javac -encoding UTF-8 XX.java
or you can set it in eclipse.
                
> JDBC driver doesn't encode string properly.
> -------------------------------------------
>
>                 Key: HIVE-2137
>                 URL: https://issues.apache.org/jira/browse/HIVE-2137
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.9.0
>            Reporter: Jin Adachi
>         Attachments: HIVE-2137.patch
>
>
> JDBC driver decode string by client encoding. 
> It ignore server encoding. 
> For example, 
> server = Linux (utf-8) 
> client = Windows (shift-jis : it's japanese charset) 
> It makes character corruption in the client.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message