Next Page

1

Previous Page

Thread: Colfusion word document and Greek characters

Created on: 06/02/12 05:17 AM

Replies: 0

anarchos78


New Member


Joined: 12/13/11

Posts: 1

Colfusion word document and Greek characters
06/02/12 5:17 AM

Hello friends,
I am trying to build dynamically word docs(from database-i am using a CFC for query handling). My efforts were successful, but only for English language(i can reproduce docs in English). My app is in Greek language. When i try to build doc containing Greek characters the output is look like: "??????????????????". I have tried many things but nothing is working. The strange thing here is when i am using the same CFC for PDF reproduction, Greek characters output correctly. I'm straggling with this one 1 week now.

The cfm file:Print.cfm

The cfc file:Print.cfc


Then i tried out the following:
The cfm file:Print1.cfm

With the above code (Print1.cfm) only English characters was outputted. When i comment out the following lines:

view plain print about
1<cfheader name="Content-Disposition" value="inline; filename=Save-Print.doc" charset="utf-8">
2<cfcontent type="application/msword">

everything is working fine.
I tried it out also in Railo. The above code is working fine only when i querying 1 row (the Greek characters)! I cannot figure out what is going on.

Any ideas are welcomed.

Thank you in advance,

Tom, Greece
* Last updated by: anarchos78 on 6/2/2012 @ 6:59 AM *

Link | Top | Bottom

Next Page

1

Previous Page

New Post

Please login to post a response.