Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No Greek (or any other UTF-8) when using cfreport format=pdf (CFMX 7)

129 views
Skip to first unread message

dimsis

unread,
Feb 24, 2005, 10:14:54 AM2/24/05
to
I have created a report with Coldfusion Report Builder and then i get the code
snippet: <cfquery name='MyQuery' datasource='crmLogic'> SELECT CNAME,
AFM, CADDRESS, ACCBALANCE FROM dbo.CUSTOMERS </cfquery> <cfreport
template='lala.cfr' format='PDF' query='MyQuery'> This is not diplaying GREEK
fonts (utf-8) instead of the FlashPaper.

PaulH

unread,
Feb 24, 2005, 10:48:24 AM2/24/05
to
not following. what's the problem? pdf? flash? does that query display ok as plain cf?

dimsis

unread,
Feb 25, 2005, 3:01:33 AM2/25/05
to
Yes the query display Greek as Plain CF and as FlashPaper but not as a PDF...

PaulH

unread,
Feb 26, 2005, 8:57:27 AM2/26/05
to
does plain cfdocument work?

Dean Harmon

unread,
Feb 28, 2005, 3:49:07 PM2/28/05
to
PDF is very picky about the Character encoding in a document. By default
(and you can change this in perferences) the encoding is CP1252. You can
change this in the report builders' preferences section (called PDF
Character Encoding on the right hand side). Simply open up and re-save the
file and it will be output in the PDF page that you specified. As you saw,
FlashPaper does not have this restriction.

Dean

"dimsis" <webfor...@macromedia.com> wrote in message
news:cvmm0t$djm$1...@forums.macromedia.com...

t.sarmis

unread,
Mar 3, 2005, 4:12:15 AM3/3/05
to
The option you say in CF report builder does not work!! I have been trying it
for the last week with many option such as UTF-8, CP1253,CP869,ISO-8859-7 none
of which is working.
This is done using either a query or an input parameter. And all this whenever
you try to print in pdf format.
The flashpaper format works fine using both db query and/or input parameter.
Any ideas?
Is this a posible cfr bug because cfdocument work fine with Greek.

Where can i send you a sample .cfm and .cfr in order to assist me further?

PaulH

unread,
Mar 3, 2005, 8:01:43 AM3/3/05
to
as i said, it works for me (and i triple checked).

zip up a *simple* example w/a *small* set of data (CSV) that re-produces the problem & post it here.

t.sarmis

unread,
Mar 4, 2005, 3:56:19 AM3/4/05
to
PaulH replied via e-mail :
"a couple of things:

- you had no fonts for any of the greek test. i swapped to ms arial unicode
(my favorite) & it worked for the static text (the dynamic text needed the next
thing). pick a font w/greek in it.
- urlencodedformat in your greek.cfm file, either get rid of that or put an
accompanying URLDecode in the report. when i took care of this it produced the
attached."

This advice solves the problem printing Greek in .cfr using both PDF and
FlashPaper format.

regards
Theo

0 new messages