cfdocument doesn't show Asian language like Korean.


--------------here is my simply test code-------------

<cfdocument format="pdf" marginbottom="0" marginleft="0" marginright="0" margintop="0" pagewidth="2.84" filename="test.pdf" overwrite="yes">
hello
<TABLE>
<TR align="Center">
      <TD>¿¿</TD>
    <td></td>
    <td>¿¿</td>
      <TD>¿¿</TD>
   
</TR>
<cfoutput query="application.GetFoodMenu"><TR>
      <TD>#Description#</TD>
    <td>#EnDescription#</td>
    <td>#FoodCategoryId#</td>
    <TD>#SellPrice#</TD>
</TR></cfoutput>
</TABLE>
</cfdocument>
<cfprint type="pdf" source="test.pdf" printer="StarKitchen">

-------output----------
On printer paper.

skip korean ..only english


wannabemasterAsked:
Who is Participating?
 
_agx_Commented:
For windows, try the "Arial Unicode MS" font.  It is included with most office products, so it may be installed already.
http://www.microsoft.com/typography/fonts/font.aspx?FMID=1081

Example:
<cfprocessingdirective pageEncoding="utf-8">
<cfdocument fontembed="true" format="pdf">
<div style="font-family: Arial Unicode MS">
Korean (¿¿¿ / ¿¿¿), a language spoken by about 63 million people in South Korea, North Korea, China, Japan, Uzbekistan, Kazakhstan and Russia. The relationship between Korean and other languages is not known for sure, though some linguists believe it to be a member of the Altaic family of languages. Grammatically Korean is very similar to Japanese and about 70% of its vocabulary comes from Chinese. 
</div>
</cfdocument>

Open in new window

0
 
wannabemasterAuthor Commented:
I'm using coldfusion 8..
0
 
Brijesh ChauhanStaff IT EngineerCommented:
Make sure you have the required FONT library for Asian characters on the server, also probably you would need to add the correct content type meta tag

<META http-equiv="content-type" content="text/html; charset=ks_c_5601-1987">
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
wannabemasterAuthor Commented:
I found add fond in coldfusion server..what should i add when click browse button? I don't know how to add fond..
0
 
Brijesh ChauhanStaff IT EngineerCommented:
if you are using windows, then FONTS are in the directory C:\Windows\Fonts

You would need to download the FONTS, there are both FREE and PAID versions available, just google for Korean Fonts...

here is a link which you can try

http://www.tuxpaint.org/download/fonts/#korean
http://www.fonts.com/favoritefonts/koreanfonts.htm
0
 
wannabemasterAuthor Commented:
I accept agx's solution..
It's working his code but i changed font-family:gulim (or other fonts)..
Thank you..all
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.