Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
7 subscribers
Views
3609 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi I'm getting an exception when trying to use the torecord() fun
normanc
over 9 years ago
Hi
I'm getting an exception when trying to use the torecord() function on extended characters. For example, if I have the rule...
=torecord("<tag>eg</tag>", "")
...then the text "eg" is returned in the test rules interface. However, if there is an extended character, e.g...
=torecord("<tag>ég</tag>", "")
...then I get an error message "The rule contains an expression that cannot be tested". On checking the application server log the message is "MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence".
Are we missing some setup configuration? We are using Appian 7.4 with IIS and JBOSS.
Thanks,
Norman.
...
OriginalPostID-124059
OriginalPostID-124059
Discussion posts and replies are publicly visible
Parents
0
Aleksi White
Appian Employee
over 9 years ago
Are you testing the function like this in isolation? Or is it being used as part of a larger XML document? If you have XML headers, try removing the ones such as:
<?xml version="1.0" encoding="UTF-8"?>
<Instruction xmlns="
http://tempuri.org/">
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Aleksi White
Appian Employee
over 9 years ago
Are you testing the function like this in isolation? Or is it being used as part of a larger XML document? If you have XML headers, try removing the ones such as:
<?xml version="1.0" encoding="UTF-8"?>
<Instruction xmlns="
http://tempuri.org/">
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data