Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hive-ODBC error in encoding

avatar
New Member

i am using hortonworks ODBC-Hive to connect from php page to hive , the problem is to search not English character especially Arabic character i made change in the hortonworks.hiveodbc.ini to value << DriverManagerEncoding=UTF-8> , what further edit i can do in configuration of odbc driver and when i query the result i have this value

\u001a\u001a\u001a\u001a\u001a\u001a\u001a\u001a\u001a\u001a\u001a
1 ACCEPTED SOLUTION

avatar
New Member

Yes, i read it , but it only mention the edit in hortonworks.hiveodbc.ini , and i made this edit but nothing changes

@Amine Hallam , please what else can i do to make it work ;

View solution in original post

3 REPLIES 3

avatar
Expert Contributor

Did you checked this document here ?

avatar
New Member

Yes, i read it , but it only mention the edit in hortonworks.hiveodbc.ini , and i made this edit but nothing changes

@Amine Hallam , please what else can i do to make it work ;

avatar
New Member

hi @Amine Hallam , thanks for your response but i solved after 4 days searching . the problem was in the configuration of the apache server . i change the configuration of etc/apache2/envar ,

comment << EXPORT LNAG = C >>

then

uncomment ./etc/default/local

i hope it help any