tracker issue : CF-4203024

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

Garbled characters occur when using cfreport in cf2018 (Japanese Ver.)

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Shigeyoshi Muraoka / ()

Created: 06/26/2018

Components: Localization, Reporting, CFReport

Versions: 2018

Failure Type: Others

Found In Build/Fixed In Build: 2018.0.0.310608 / 313050

Priority/Frequency: Minor /

Locale/System: / Win 2016

Vote Count: 1

Problem Description:
When creating PDF by processing cfreport on CF2018, garbled characters occur in Japanese.

Steps to Reproduce:
<cfprocessingdirective pageencoding="UTF-8" />
<cfscript>
	qUriage = queryNew("ID,URI_TUKI,TANTO","Integer,Varchar,Varchar", 
	[ 
		{ID=4, URI_TUKI="2013?04?", TANTO="?????8"},
		{ID=3, URI_TUKI="2013?04?", TANTO="?????7"},
		{ID=9, URI_TUKI="2013?04?", TANTO="?????8"},
		{ID=7, URI_TUKI="2013?04?", TANTO="?????4"},
		{ID=6, URI_TUKI="2013?04?", TANTO="?????2"}
	]);
</cfscript>
<cfreport template="cfreport.cfr" format="PDF" query="qUriage"/>

Actual Result:
cf2018_cfreport.pdf

Expected Result:
cf2016_cfreport.pdf

I use MS UI Gothic font embedded. And although Identity-H is selected on Preferences of PDF Character Encoding, encoding setting of created PDF seems to be CP1252.

Attachments:

Comments: