You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Bing Li <li...@yahoo.com.cn> on 2011/11/02 14:39:14 UTC

How to make hive handle/show Chinese words

Hi, guysI want to load some data files which including Chinese words.Currently, I found Hive can't display it well.Is there some setting/properties that I can configure to resolve this?

Thanks,Bing

Re: How to make hive handle/show Chinese words

Posted by Shouguo Li <th...@gmail.com>.
hmm, i tried it on osx + hive (in local mode) and i can see chinese
characters gets displayed properly on hive shell. so we know hive utf-8
encoding works, :)

like what wd said, check to see if the file is utf-8 encoded. also were u
using hive shell to check the output? can you cat the data file and check
if your terminal displays chinese characters correctly? i know some
terminals doesn't support chinese, so just to make sure.

hope that helps.

On Fri, Nov 4, 2011 at 3:16 AM, wd <wd...@wdicc.com> wrote:

> use utf8
> or have you try to use insert overwrite to local directory and chek the
> output file?
>
>
> On Wed, Nov 2, 2011 at 9:39 PM, Bing Li <li...@yahoo.com.cn> wrote:
>
>> Hi, guys
>> I want to load some data files which including Chinese words.
>> Currently, I found Hive can't display it well.
>> Is there some setting/properties that I can configure to resolve this?
>>
>>
>> Thanks,
>> Bing
>>
>
>

Re: How to make hive handle/show Chinese words

Posted by wd <wd...@wdicc.com>.
use utf8
or have you try to use insert overwrite to local directory and chek the
output file?

On Wed, Nov 2, 2011 at 9:39 PM, Bing Li <li...@yahoo.com.cn> wrote:

> Hi, guys
> I want to load some data files which including Chinese words.
> Currently, I found Hive can't display it well.
> Is there some setting/properties that I can configure to resolve this?
>
>
> Thanks,
> Bing
>