Hi there, we have a problem with unicode support on Appian cloud at two customer

Hi there, we have a problem with unicode support on Appian cloud at two customers. A user pastes a emoji into a text field which is saved to datastore in process. The "Write to datastore" node breaks. After digging a bit I found out that MySQL is not configured to handle unicode correctly. The default charsets in MySQL are not able to save 4-byte characters. Is there anyone having a similar problem?

OriginalPostID-192819

OriginalPostID-192819

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Hi stefan, we have a similar issue on our project. Our workaround is to strip all unknown characters before saving into a rule input. Ex. a!save(ri!input, rule!strip(save!value)) where rule!strip is cleanwith(ri!text," abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()`~-_=+{}|:<>?[]\\;',./""")
Reply
  • 0
    Certified Lead Developer
    Hi stefan, we have a similar issue on our project. Our workaround is to strip all unknown characters before saving into a rule input. Ex. a!save(ri!input, rule!strip(save!value)) where rule!strip is cleanwith(ri!text," abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()`~-_=+{}|:<>?[]\\;',./""")
Children
No Data