cfdocument not showing Chinese character

We have a system that uses a mixture of English and
Simplified Chinese on almost every page. After properly installing
the Simplified Chinese fonts (gb2312) on all of the users
PC’s via the Regional and Language setting, the pages display
both languages properly.
We have just started using the <cfdocument> to create
PDF documents. We were eager to convert to <cfdocument> in
order to be able to use CSS and to be able to display the Chinese
characters in the PDF document as they are displayed in the HTML.
We tried it first on a CF MX 7 test bed. Once we created the
cffont.properties.cn in the cf_root/Lib directory, it worked like a
champ.
In order get this feature into production, we moved the .cfm
files and the cffont.properties files from out CF 7 test bed to our
CF8 development system. No matter what we do, all we see in the PDF
file where the Chinese characters should be are “?”.
We can’t find any information on anything else that we
need to do to make the Chinese characters appear besides creating
the cffont.properties files in the cf_root/Lib directory as we did
in CF 7. Using the CF Administrator’s Font Manager, I can see
that the required Simplified Chinese fonts (NSimSun, SimSun &
Simhei) are installed on the server. The bare bones code seems
simple enough:
<cfdocument format=“pdf”
fontembed=”selective”>
Page text…
</cfdocument.
If you have done this, or know what we need to do to port
form CF7 to CF8, I would appreciate your sharing.
Thank you in advance for your help.
Len

I see what you are saying about utf-8. I put in a
cfprocessingdirective tag in order to use utf-8 encoding, but it
makes no apparent difference. I also tried using other canonical
values (MS936, x-mswin-936, etc.) for Simplified Chinese that I
found in a Java spec on the Sun website – still not
difference. Well that’s not strictly true: when I used Cp935,
it turned everything to Chinese characters.
After working with the utr-8 and doing some other analysis we
discovered the questions marks in the code were not being cause by
unprintable characters, but they we actually in the data. OOOOPs.
This is a whole new ballgame. At first we though that the
servers running CF8 must be missing some font that was needed on
the server side. We brought over all of the fonts that seemed to be
associated with Simplified Chinese, but that didn’t make any
difference. I one final act of desperation, we changed the format
on the cfdocument from PDF to SWF. All of the Chinese characters
appeared in the SWF output file. All of the Chinese characters also
appear in the HTML output that is generated at the same time that
the PDF/SWF files are created. I call the code that creates the
actual report twice from within a shell: once inside the cfdoument
with a file name to create a separate file, and once that is not
within it to create a HTML presentaion.
The same code, when run on a CF7 server, produces a PDF
output with all of the Chinese characters. One last thing, we are
using CF8 on two different servers: one running W2KS and the other
with W2003S.
The only thing I can conclude from all of this is that there
is either something wrong with the CF8 setup on both servers, or
there is something wrong with CF8 itself.
I'm also in the middle of a severe Verity problem that I'm
working on with Adobe. The K2Server.exe process will crash (process
grows from about 15k to over 700,000k) after doing some number of
Verity collection creations or in the indexing. I've sent them code
that will create this problem time after time. They are still
scratching their collective heads over this one. I see it as a
classic case of memory leakage. They haven't agreed with me yet.
Having said all that, it seems entirely possible that there is some
undiscovered problem with cfdocument and PDF file creation using
CF8 as well.
Len

Similar Messages

  • UWL Nocifaction can not show chinese code

    Hi experts:
         My project is using UWL nocifaction to show SAP mail and read it.Now i am using SomProviderConnector .The email can display in work item, but when click "Show Detail" button ,the content can not display chinese character,  All the  chinese characters display "?".
        Can you tell me How can i resolve it?
                                    Thank you!
                                                                                yours.

    Hi,
    Check this [Link1|Re: Work item title translation in German; & [Link2|Re: How to Translate the Text;.
    Regards,
    Surjith

  • Promblems of showing chinese character set in workshop 8.1

    Promblems of showing chinese character set in workshop 8.1 IDE
    I just saw the rectangle( it meant that can't find proper font).
    Could anybody tell me how to fix it ?

    Please see the attachement.
    JDK : 1.4.1_02
    os : Winodws XP
    "Raj Alagumalai" <[email protected]> ¦b¶l¥ó
    news:3f7070d4$[email protected] ¤¤¼¶¼g...
    Samuel,
    Can you provide more information on the Operating System on which you are
    running ? Also can you attach the file with which you are having issues.
    Regards,
    Raj Alagumalai
    Backline Workshop Support
    "Samuel Hsu" <[email protected]> wrote in message
    news:3f6f1539$[email protected]..
    Promblems of showing chinese character set in workshop 8.1 IDE
    I just saw the rectangle( it meant that can't find proper font).
    Could anybody tell me how to fix it ?
    [Snap1.jpg]

  • Itunes can not show chinese characters.

    My Itunes can not show chinese characters, they are all blocks, while I can re-type in the chinese name of the song in Itunes, then it works.
    The same as Japanese, some time it can show Jap, while sometime can not. How can I solve this problem. My computer is Mac system

    Do you have such problem only with Chinese characters?

  • Showing chinese character in itune

    Hi i have a power book G4 when i import my mp3 into i tune all the chinese character did not show. what should i do to get the character to show??

    Hi i have a power book G4 when i import my mp3 into i
    tune all the chinese character did not show. what
    should i do to get the character to show??
    Assuming you do have Chinese fonts and you can see Chinese in other apps, this problem is caused by the ID3 tags of the mp3's not having the right encoding. See this note for info:
    http://homepage.mac.com/thgewecke/mlingos9.html#itunes

  • Why the adobe reader can not show Chinese word

    Hi All,
    i am using WinXP SP2, CFMX7 version 7.0.1, MySQL and the
    latest version of report builder.
    i wish to do a report which can show chinese word and english
    word as well. However, the report can only show english and the
    report will replace '?' in every chinese character. Why and how to
    solve it?
    The CF can insert chinese charater into DB.

    [email protected] wrote:
    > Dear Paulh,
    >
    > no font can display chinese.
    > Where should i trun on identity-H? i dint see.
    preferences or simply press the F8 key.
    > when i enter chinese character into my DB, the cf able
    to catch and display on
    > the screen. BTW, if u insert chinese character within
    <cfoutput>#??#</output>
    > , an error msg will display. If u insert like this
    <cfoutput>??</output>, it
    > will display as '??'
    not following you.

  • Email cannot show Chinese character.

    Hi,
    When I read emails in my ipod touch, the Chinese character cannot be shown properly. They appear to be all chaotic characters. Can someone help me what I should set up/install in order to view the Chinese character?
    Thanks in advance.

    Tom Gewecke wrote:
    I think that currently only emails in Unicode may be displayed correctly and there is no way yet to adjust the encoding for other kinds.
    Are you sure about that? What about Western encoding for the French and German?
    Or is this yet another reason for me not to buy an iPhone?

  • EA 4500 does not show chinese folder names

    After plugged in a hard disk through the USB port, only English file names can
    be viewed, and all Chinese (both traditional and simplied) were displayed as
    numbers and alphabets! Do I need to download any language packs? Please help!

    Hi, I believe that you will only be able to view folders with Chinese characters as file name if the language of your computer is also on Chinese. To verify this hypothesis, try to connect your external HDD directly to your computer and check if the folders with Chinese character file names will be detected.

  • Acrobat PDF file not showing any character "i" only after an "f"

    I have a file that was provided from an unknown origin.  The original PDF is good.  After using Acrobat Pro, 11 - every lower case letter "i" if used after a character "f" is missing.  Therefore the view shows this:  "See f gure #", or "the proper conf guration is", or "in case of f re".  The font is Times Roman.  The "i" character in error can be searched by using a copy paste of the bad character into the search field dialog box.  It can't be replaced however  - with a good "i" - by performing a search and replace.  The (for lack of a better phrase) "invisible i" can be deleted and a new "i" inserted, but by performing a search, I have 6,700 of them.  Doing them individually isn't an option.  This document has gone through at least three editors hands, and re-doing what they so painstakingly did - and losing a large amount of work for what appears to be a software glitch is not the preferred option.
    I've tried saving as prior versions of PDF, messed with Preflight, printed to a pdf, used different views, embedded / unembedded fonts.
    There has got to be a fix for this. 
    Please help, and thank you.

    Adding fuel to the fire...    In a document that uses Times  Roman as the font, the "i"s have been changed to Minion Pro.  Upon further review, all letter "L" - lowercase is also missing, but only after the character "f".  A document that says "have a safe flight"  now says "have a safe f ight" and the word "reflected" is now "ref ected".  The character "lower case L - l " has been changed to the font - Dutch 801 SWA.
    I cannot select any of the invisible characters and change the font - as the fonts are greyed out.
    Gotta be a fix...  this is really bad, and not user error.

  • Filled form in greek does not show "pi" character unless field clicked. Why?

    Hello again,
    I am trying to make one pdf form suitable to be filled in a lot of different languages and, as long as I am testing it, it seems to work, except from Greek. Somebody has filled the form in Greek, and say they cannot write "pi" character, and the form I have received from them shows a dot where that character should be, but if I click the textfield then the dots show the text fine, including "pi".
    The font I applied in the "appearance" tab for the textfields is Arial Narrow. Should I use specifically a Greek font for the Greece form? Is not true that Acrobat Reader use local fonts for filling the forms?
    Thank you for your help!
    Ardid

    the form did not work for most email in the Label  "College Sports"'
    the values of the parameters did not agree with email prefixes.
    (i.e., was  [email protected]  --->> @collegestudentvoice.net)
    This is the only thing that i changed
    The form was test from a different PC and also did not work.

  • New drivers made programs show chinese charact

    Ok I'm getting kinda pissed here, I installed new drivers for my SB X-Fi Xtreme Music and, well, after the update was done, every textline in the default windows volume control is in chinese, and all the Creative related software is also in chinese, another problem was that my Creative Console Launcher was uninstalled, and even if I try to reinstall my default drivers with the CD that came along with my soundcard, I can't get rid of those **bleep** chinese characters..
    Am I going to have to format my whole PC to get this **bleep** thing working properly or what? :S
    I'm starting to think not even that will solve this problem.. >.<

    Originally Posted by Nambo
    I have a Dell XPS 8300 Windows 7 with Sound Blaster X-Fi Xtreme
    In unsuccessfully trying to get an output from the optical port, I updated the drivers from Dells own support site.
    Now I have no sound, in "Control Panel" "Sounds" has lost any mention of an anologue device even with "show hidden devices "checked.
    Device manager claims this device has no drivers, but on the next page the scan says the drivers are up to date.
    The thing is, I cannot do anything else such as roll back drivers, delete drivers, even scan drivers without getting the BSOD and the message "IRQL not less or equal", this occurs if I try the same in add/remove programs using creatives own installer.
    What can I do?, how can I remove the drivers if the system crashes half way through?
    I think you may have downloaded the wrong driver. I did a search online and found many sites that say that the Dell XPS 8300 comes with X-Fi Titanium. You may have downloaded the X-Fi Xtreme driver. You may want to try downloading the X-Fi Titanium driver.
    Here is a link on Creative's support site for the latest X-Fi Titanium driver.

  • IPod cannot show chinese character now, previously can

    Hi everyone,
    Thanks for trying to help.
    So I have some songs with Chinese characters in the song names. They work perfectly fine, I mean before, when they become symbols, I just use the ID3Mod to convert them and import them into my iPod nano and I can see all right names.
    Now, I don;t know what happened, I just discovered today. I found that most of the chinese characters cannot be displayed, they did not become strange monsters symbols, but " " blank.
    Do Anyone have any idea what have happened ?
    The thing I did today is just import a few new songs.
    P.S: those names shown perfectly well in iTunes
    Thanks very much.
    Message was edited by: memoryrecalls

    I've got the same problem with itunes, quicktime, and also imported Safari bookmarks (the list is doubtless longer than that, but that's what I use and have noticed so far)
    The OS recognises the Chinese, in fact in most cases I wrote the Chinese text in Mac OSX, and it displays the text correctly in the file name but when you open in itunes or quicktime it's scrambled into nonsense.
    Since Chinese people constitute 1.3 Billion consumers that's a pretty poor show from Apple.. (LOL)

  • Printer MF4350d...Preferences Settings showing chinese character

    Dear Support,
    I had MF4350d printer. Due to some problems in connectivity i uninstalled the driver completely and reinstalled it on my Windows 8 - 32bit OS.
    Now when i open  Start > Devices and Printer > Right click the driver icon and select Printer Properties, it shows everything in chinese or japanese characters.
    Strange enough the main window appears in english. The two windows would give you the idea about it.
    Please advice.
    Regards,
    Arshi

    This note discusses the problem and possible fixes:
    http://homepage.mac.com/thgewecke/woutlook.html

  • AWT PopupMenu not showing Chinese Characters

    Hi all.
    I have a mostly Swing application that must display English and Chinese characters. Changing the Swing components has been easy, however I am having problems changing an AWT PopupMenu that i use in combination with the new TrayIcon features of Java 6. TrayIcon requires an awt PopupMenu, so i cannot use a Swing JPopupMenu even if i wanted to.
    The problem is that instead of the correct words i am getting just empty squares, which seem to indicate a problem. I have tried setting the font to "SimSun" but this made no difference.
    I also tried this hack to use a JPopupMenu with Trayicon
    http://weblogs.java.net/blog/ixmal/archive/2006/05/using_jpopupmen.html
    This correctly showed the Chinese characters but it threw up lots of 'class cast' exceptions.
    My ideal solution would be to fix the problems with PopupMenu as apposed to fixing the class cast exception errors with the JPopMenu hack.
    Would anyone know why i cannot display Chinese characters in a AWT PopupMenu? have i missed something?
    Thanks
    Steven

    hi!
    check this out
    package com.ani;
    import java.awt.BorderLayout;
    import java.awt.Font;
    import java.awt.Frame;
    import java.awt.Graphics;
    import java.awt.Label;
    import java.awt.Panel;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.JLabel;
    public class showHindi extends Panel
         public showHindi()
              setLayout(new BorderLayout());
              String unicodeText = "\u0928\u092e\u0938\u094D\u0924\u0947";
              Font fn = new Font("Arial Unicode MS", Font.PLAIN, 32);
              Label lblText = new Label(unicodeText) {
                   @Override
                   public void paint(Graphics g)
                        //super.paint(g);
                        g.clearRect(0, 0, getWidth(), getHeight());
                        String str = getText();
                        g.drawChars(str.toCharArray(), 0, str.length(), 0, 30);
                        //System.out.println(getText());
              lblText.setFont(fn);
              JLabel lblText1 = new JLabel(unicodeText);
              lblText1.setFont(fn);
              add(lblText, BorderLayout.NORTH);
              add(lblText1, BorderLayout.SOUTH);
         public static void main(String[] args)
              Frame frm = new Frame("Test Hindi");
              frm.add(new showHindi());
              frm.setSize(600, 400);
              frm.addWindowListener(new WindowAdapter() {
                   @Override
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
              frm.setVisible(true);
    }this is working in my machine. i have used JLabel and Label both to just show you the difference. there is a flickering bug because of rendering, i hope you can manage that.
    regards
    Aniruddha

  • Showing Chinese character:

    I wonder to show a chinese word in AVAlertNote, is it possible? Please give me some guidelines if it can.
    Thanks your concern.
    Regards,
    Tham

    1. Obtain an ASText object for the Chinese text.
    2. Use AVAlertWithParams.
    This can of course be wrapped in your own routine to do a simpler
    AVAlert of your Chinese text.
    Aandi Inston

Maybe you are looking for

  • Passing variable in a method bean to JSP Page

    Hello Everyone, Can I Have a quick example of passing method variables from a java bean to a JSP page, (no forms involved) thanks

  • IPhone not hanging up on "End Call"

    This occurs frequently, about 1 out of every 5 calls I make. When I hit the red "End Call," at the conclusion of a conversation, my phone hangs with it reading, "call ending..." It does not ever read the normal "call ended" and will stay that way unt

  • Challenge forwarding from a servlet to a JSP

    Redirecting information from a servlet to a JSP Hello Everyone,      I am processing the contents of a html form using a servlet. After processing the information received and storing it into a javabean I am trying to pass control onto a jsp for disp

  • Mail 5: does not show some attachments if not config'd as Exchange

    One of my email accounts resides on an Exchange 2010 server. I clean installed Lion the other day, but ever since early Snow Leopard builds, I had this issue where every now and again, emails received on that Exchange account would have attachments t

  • WLS 6.0 beta2(Examples Server and Default Domain)

    Hello I have downloaded Weblogic server v6.0 beta2 Is it possilbe start examples server as Managed server to mydomain(myserver as admin server). If possilbe how do i do it...... In "mydomain" through console I created a new new server myserver-1.How