tracker issue : CF-4019600

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

CharsetEncode() returns something different, update 16 on Win Server 2012

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 07/10/2015

Components: Language

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 0

Duplicate ID:	CF-4019598

Problem Description:

CharsetEncode('utf-8') returns something different on Windows Server 2012 with Update 16 on JVM 1.8


Steps to Reproduce:

<cfset salt = "ohAmCN+16W4=">

<cfset saltBinary = BinaryDecode(salt, 'base64')>
<cfset saltUtf8 = CharsetEncode(saltBinary, 'utf-8')>
		
<cfdump var="#saltUtf8#">

Actual Result:

?x10;&??n

Expected Result:

SALTUTF8	?x10;&??


Any Workarounds:

NONE

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4019600

External Customer Info:
External Company:  
External Customer Name: Henry
External Customer Email:  
External Test Config: My Hardware and Environment details:



Server Details  

Server Product  ColdFusion  

Version  10,0,16,293499  

Tomcat Version  7.0.54.0  

Edition  Standard    

Serial Number  1187-5001-7234-1200-5888-5145    

Operating System  Windows Server 2012    

OS Version  6.2    

Update Level  /C:/ColdFusion10/cfusion/lib/updates/chf10000016.jar    

Adobe Driver Version  4.1 (Build 0001)    

JVM Details  

Java Version  1.8.0_45    

Java Vendor  Oracle Corporation    

Java Vendor URL  http://java.oracle.com/  

Java Home  C:\Program Files\Java\jre1.8.0_45    

Java File Encoding  Cp1252    

Java Default Locale  en_US    

File Separator  \    

Path Separator  ;    

Line Separator  Chr(13)  

User Name  WEBSITEWWW3R$    

User Home  C:\Windows\system32\config\systemprofile    

User Dir  C:\ColdFusion10\cfusion\bin    

Java VM Specification Version  1.8    

Java VM Specification Vendor  Oracle Corporation    

Java VM Specification Name  Java Virtual Machine Specification    

Java VM Version  25.45-b02    

Java VM Vendor  Oracle Corporation    

Java VM Name  Java HotSpot(TM) 64-Bit Server VM    

Java Specification Version  1.8    

Java Specification Vendor  Oracle Corporation    

Java Specification Name  Java Platform API Specification    

Java Class Version  52.0

Attachments:

Comments:

As requested by Henry Ho.
Comment by Anit K.
6723 | July 10, 2015 03:22:59 PM GMT