Virtual Agent Emoji's not appearing in Test Instances, Working in Developer Instance

Hayden Reid
Tera Guru

Hello!

I seem to be unable to push emoji's from our Developer instance into our test instance, but the text following or afterwards is present. The emojis work just fine in the developer instance when testing. When I look up the sys_message_ui table I see some odd values being passed into the "Target Name" field. In customer updates the target name also contains the same. I assume this has something to do with the way the UTF-8 characters are being translated by the system but I haven't been able to think up a way to troubleshoot this issue. 

 

From the documentation: String (Full UTF-8) String field that contains UTF-8 character encoding. This field type is restricted to the same maximum length that can be defined within the application UI as the String data type. Emojis are supported in the String (Full UTF-8) field type. 

 

I only assume that the "Bot Response" utility has this same encoding... appreciate thoughts & suggestions for next steps.. 

Thank you!

find_real_file.png

 

find_real_file.png

<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_ui_message"><sys_ui_message action="INSERT_OR_UPDATE"><application>Virtual Agent</application><code/><commented_message/><key>this is a test with emoji following text �?��</key><language>en</language><message>this is a test with emoji following text </message><sys_class_name>sys_ui_message</sys_class_name><sys_created_by>haydenreid</sys_created_by><sys_created_on>2022-09-14 17:09:04</sys_created_on><sys_customer_update>false</sys_customer_update><sys_id>298606b71b7911108b5c0e12604bcb5d</sys_id><sys_mod_count>0</sys_mod_count><sys_name>this is a test with emoji following text �?��</sys_name><sys_package display_value="HR Service Delivery Virtual Agent Conversations" source="sn_hr_va">c8c5545573d8130000e588e54cf6a71a</sys_package><sys_policy/><sys_replace_on_upgrade>false</sys_replace_on_upgrade><sys_scope display_value="HR Service Delivery Virtual Agent Conversations">c8c5545573d8130000e588e54cf6a71a</sys_scope><sys_update_name>sys_ui_message_298606b71b7911108b5c0e12604bcb5d</sys_update_name><sys_updated_by>haydenreid</sys_updated_by><sys_updated_on>2022-09-14 17:09:04</sys_updated_on></sys_ui_message></record_update>

 

1 ACCEPTED SOLUTION

Hi again Chris. Turns out that the following system properties (sys_properties) need to be set to value 'true':

glide.util.xml.transformer.donot_strip.utf16_surrogate_pairs
glide.util.xml.transformer.handle.utf16_surrogate_pairs

Changing these values resolved the emoji issue for us.

Cheers,

Hayden

 

View solution in original post

5 REPLIES 5

Hi Chris,

 

Sorry for my late reply. Based on what I can see, it does look like the system property was created by an IT administrator at some point.

 

Hayden