tracker issue : CF-4203453

select a category, or use search below
(searches all categories and all time range)
Title:

<CFEXECUTE> and UTF-8 response

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): m p / ()

Created: 11/12/2018

Components: Tags

Versions: 2016

Failure Type: Data Corruption

Found In Build/Fixed In Build: CF 2016 Update 5 /

Priority/Frequency: Normal /

Locale/System: / Linux CentOS 6.4

Vote Count: 1

Problem Description: Using CFEXECUTE to call a local service that returns JSON array (via the variable parameter) that can contain foreign characters (for example chinese characters ???).   CF version 11 worked just fine. We recently upgraded to CF 2016 and now if won't return these characters encoded properly -- only returns the ? character.   However, if we write to the CFEXECUTE response to file, the characters are encoded properly.  The issue only appears to be when we use the CFEXECUTE 'variable' parameter.

Steps to Reproduce:Use CFEXECUTE to read some UTF-8 encoded output and dump to a variable.

Attachments:

Comments:

I have something that I think this would also break (if we updated to CF2016). I have a command I cfexecute that is a client to a remote service that returns JSON. I'd like to see this fixed.
29978 | November 28, 2018 01:08:18 AM GMT