Non English characters on non agent api.

Hi,
I am currently building integration for auto importing leads from our CRM to Vicidial. No issue with non_agent_api as far as writing into the server. The biggest issue is if some of the values I send are in Chinese, or Thai, the system just registers it as blank.
I could just bypass by directly adding fields that are non English directly to the DB. But would prefer to get the API working instead. Below is a sample.
This is successful after I run it, but the first_name and last_name is empty when I look at the system. It's also blank on the DB. Any idea on how to get this to work without direct writing to DB?
Any help would be much appreciated.
Cheers,
Jet
I am currently building integration for auto importing leads from our CRM to Vicidial. No issue with non_agent_api as far as writing into the server. The biggest issue is if some of the values I send are in Chinese, or Thai, the system just registers it as blank.
I could just bypass by directly adding fields that are non English directly to the DB. But would prefer to get the API working instead. Below is a sample.
- Code: Select all
http://vicibox-server/vicidial/non_agent_api.php?source=test&user=6363&pass=PASSWORDHERE&function=add_lead&list_id=10005&phone_code=86&phone_number=18824324242&first_name=靖&last_name=梁&custom_fields=Y&cmp_name=Test520Campaign&add_to_hopper=Y&player_username=username1&playerid=5252525&hopper_priority=99&hopper_local_call_time_check=N
This is successful after I run it, but the first_name and last_name is empty when I look at the system. It's also blank on the DB. Any idea on how to get this to work without direct writing to DB?
Any help would be much appreciated.
Cheers,
Jet