unicode strings

Status
Not open for further replies.

TWU

Customer
Joined
Jan 12, 2016
Messages
17
Reaction score
1
Hello,
my VAD code is querying a database table with UTF-8 encoding.
How can a save unicode string variables in 3CX VAD?

Thanks!
Thomas
 
Hi Thomas,

What version of the VAD are you using?

There were some problems with unicode characters in old versions, but currently it should be possible. If you're having problems with the latest version, please let us know exactly what you're doing so we can check your scenario.

Kind regards.
 
Thanks for your reply!
My VAD version is 14.0.4141.0.
My scenario:
Reading customer names and phone numbers from MS SQL Server database and forward incoming calls to extensions of the customer's assigned support employees. This works perfect by the way.
But the names are in UTF-8 encoding in the database, we have customers all around CEE.
And should be in Unicode in VAD strings, too.
But they look like this:
"M�ller Marc"
"F�rber Jakob"
"Penn Sch�lwerk Gmbh"
instead of:
"Müller Marc"
"Färber Jakob"
"Penn Schälwerk GmbH"

I read from the SQL table with this query:
select Person, Company, RoutingDestination from Customers where RIGHT(CallerID,8) = RIGHT({0},8)
and receive query results with: GET_TABLE_CELL_VALUE(SearchPerson.QueryResult,0,0)
and store it in a string variable: project$.CallerName
I did not find any VAD setting for Unicode characters.

Thank you!
Thomas
 
Hi Thomas,

Thanks for the feedback, this might be a bug.

What are you doing with the name later on? Are you using text to speech to play it somewhere in the callflow? Or you just see the invalid name in the debug information?

Thanks.
 
Hi,
the names are not for debugging, but for further workflow and documentation.
 
OK, but what do you do with them? Do you send them to a web service for example? I would like to have a complete idea of your workflow, so we make the fixes and test it using the same flow that you're using, so we confirm that this is fixed.

Thanks for your valuable feedback.
 
Hi,
we send the names via e-mail for notification and write them to a csv file for documentation.
In both cases the names are not unicode encoded.
 
Hi Thomas,

This is confirmed to be a bug. The fix will be available in the next release of the 3CX VAD.

Kind regards.
 
Status
Not open for further replies.

Forum statistics

Threads
112,322
Messages
591,889
Members
165,470
Latest member
Robert Lee