Also if you can show your DIH script. Does the Chinese text come out
ok when you do a database query?

http://wiki.apache.org/solr/DataImportHandler#Troubleshooting

On Mon, Dec 27, 2010 at 4:38 PM, Glen Newton <glen.new...@gmail.com> wrote:
> Is it possible your browser is not set up to properly display the
> chinese characters? (I am assuming you are looking at things through
> your browser)
> Do you have any problems viewing other chinese documents properly in
> your browser?
> Using mysql, can you see these characters properly?
>
> What happens when you use curl or wget to get a document from solr and
> looking at it using something besides your browser?
>
> Yes, I am running out of ideas!  :-)
>
> -Glen
>
> On Mon, Dec 27, 2010 at 7:22 PM, Mark <static.void....@gmail.com> wrote:
>> Just like the user of that thread... i have my database, table, columns and
>> system variables all set but it still doesnt work as expected.
>>
>> Server version: 5.0.67 Source distribution
>>
>> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>>
>> mysql> SHOW VARIABLES LIKE 'collation%';
>> +----------------------+-----------------+
>> | Variable_name        | Value           |
>> +----------------------+-----------------+
>> | collation_connection | utf8_general_ci |
>> | collation_database   | utf8_general_ci |
>> | collation_server     | utf8_general_ci |
>> +----------------------+-----------------+
>> 3 rows in set (0.00 sec)
>>
>> mysql> SHOW VARIABLES LIKE 'character_set%';
>> +--------------------------+----------------------------------------+
>> | Variable_name            | Value                                  |
>> +--------------------------+----------------------------------------+
>> | character_set_client     | utf8                                   |
>> | character_set_connection | utf8                                   |
>> | character_set_database   | utf8                                   |
>> | character_set_filesystem | binary                                 |
>> | character_set_results    | utf8                                   |
>> | character_set_server     | utf8                                   |
>> | character_set_system     | utf8                                   |
>> | character_sets_dir       | /usr/local/mysql/share/mysql/charsets/ |
>> +--------------------------+----------------------------------------+
>> 8 rows in set (0.00 sec)
>>
>>
>> Any other ideas? Thanks
>>
>>
>> On 12/27/10 3:23 PM, Glen Newton wrote:
>>>
>>> [client]
>>> >  default-character-set = utf8
>>> >  [mysql]
>>> >  default-character-set=utf8
>>> >  [mysqld]
>>> >  character_set_server = utf8
>>> >  character_set_client = utf8
>>
>
>
>
> --
>
> -
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to