tracker issue : CF-4203453

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

<CFEXECUTE> and UTF-8 response

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/NeedMoreInfo

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

Created: 11/12/2018

Components: Language, Tags

Versions: 2016

Failure Type: Data Corruption

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

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.



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.
Vote by Chris P.
29978 | November 28, 2018 01:08:18 AM GMT
@Chris @Mporter Can you guys please share sample repro files for both of your scenarios mentioned.
Comment by Manas M.
30478 | March 12, 2019 08:05:32 AM GMT