Rune Jacobsen
Forum User
- Joined
- Aug 23, 2018
- Messages
- 7
- Reaction score
- 4
Hi there,
I am working on a project for a client, and one of the steps of the call flow I am building is to call a REST based web service. The call works (the web server is called and returns a response) but I get an exception from 3CX because the encoding of the result is in UTF-8 format. The exception message in the 3CXQueueManager file is:
System.ArgumentException: '"UTF-8"' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
I can of course include the full exception details if necessary.
This brings me two questions:
1. Is there a way to get 3CX to accept UTF-8? This is not an uncommon encoding used on the web, so this would be my preferred fix if possible.
2. If we can't use UTF-8, what encoding(s) would be acceptable to 3CX? Is there a list or documentation that specifies this? I have not been able to find anything, but my google-fu might be failing me.
Thanks for any input!
I am working on a project for a client, and one of the steps of the call flow I am building is to call a REST based web service. The call works (the web server is called and returns a response) but I get an exception from 3CX because the encoding of the result is in UTF-8 format. The exception message in the 3CXQueueManager file is:
System.ArgumentException: '"UTF-8"' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
I can of course include the full exception details if necessary.
This brings me two questions:
1. Is there a way to get 3CX to accept UTF-8? This is not an uncommon encoding used on the web, so this would be my preferred fix if possible.
2. If we can't use UTF-8, what encoding(s) would be acceptable to 3CX? Is there a list or documentation that specifies this? I have not been able to find anything, but my google-fu might be failing me.
Thanks for any input!