Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Daniel Besold / Daniel Besold ()
Created: 03/20/2017
Components: Language, Functions
Versions: 2016,11.0,10.0
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 11,0,11,292866 / CF 2016 Update 5
Priority/Frequency: Normal / Some users will encounter
Locale/System: ALL / Win 2012 Server x64
Vote Count: 1
Problem Description:
The replacement with replaceNoCase does not return the correct value, if the string contains too many unicode characters
Steps to Reproduce:
<cfsavecontent variable="testString">
?<**N**><br />Fäü
</cfsavecontent>
<cfset replaceString = "<**N**>">
<cfset replaceValue = "DER?N">
<cfoutput>#HtmlEditFormat(ReplaceNoCase(testString, replaceString, replaceValue, "all"))#<br></cfoutput>
Actual Result:
?DER?N<br />Fäü
Expected Result:
?<DER?Nbr />Fäü
Any Workarounds:
None, if you need to use unicode characters
Attachments:
- October 26, 2017 00:00:00: CF-4198412.cfm
Comments: