Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default Japanese pages

    I have just upgraded from MX6 to CFMX7 on a machine that also runs apache 2.0.5
    now when I open my website which is in Japanese the characters are not
    displayed properly and it is just all garbage...even if I change the IE
    encoding settings still not right..not sure if it is a apache thing or due to
    CF???

    Thanks

    chuck1rar Guest

  2. Similar Questions and Discussions

    1. Japanese Fonts
      Hi, Been having some problems with my Illustrator CS and trying to input japanese. I have gone as far as getting the US flag up and have changed...
    2. Japanese Localization
      Hello I need to localize a Director 8.5 project to japanese language. What do I need to do this? There is quite a bit of text in the applictaion...
    3. Japanese Characters?
      How do I incorporate Japanese characters into a German version of Flash MX? Is Japanese text right-to-left? Top-to-bottom? Any clues would be...
    4. Japanese Studio MX
      I bought Studio MX from someone online and I go to install it and it's Japanese... someone please tell me I can somehow install the english...
    5. create html pages in japanese language
      a client wants me to create a stripped down version of his website for submission to the japanese search engines. he will write the text and get a...
  3. #2

    Default Re: Japanese pages

    what exactly do you see when you say "not displayed properly and it is just all
    garbage."? is this for text from a database or static? what encoding did you
    use before? if your text is from a database, what database? what driver? is
    there a page we can see?


    PaulH Guest

  4. #3

    Default Re: Japanese pages

    It is just static text and encoding before was SJIS.
    So how do I set the default encoding in CFMX7?

    [url]http://www.nathess.com/company/aboutus.cfm[/url]
    chuck1rar Guest

  5. #4

    Default Re: Japanese pages

    how was it set before? mx 6.x also defaulted to utf-8.

    if you wnt the whoel cf server to run under tha encoding then in
    cf_root/lib/neo-runtime.xml file change the UTF-8 in

    <var name='defaultCharset'><string>UTF-8</string></var>

    to Shift_JIS (or its aliases).

    if you don't want to change the whole server then for just that application:
    (application.cfm or in application.cfc)
    <cfset setEncoding("url","shift_JIS")>
    <cfset setEncoding("form","shift_JIS")>
    <cfcontent type="text/html; charset=shift_JIS">

    at the top of your cf pages add:
    <cfprocessingdirective pageEncoding="shift_JIS">


    PaulH Guest

  6. #5

    Default Re: Japanese pages

    Yes u were right that CFMX6 used the same default and changing it to SHIFT_JIS
    did not make any difference.
    So I assume it must be somethign DWMX..
    FOr example when u changed the encoding to ShiftJIS did u see the below text
    dieplayed as this??

    Is this what see as the top left menu name?
    ??????
    Is the below text what u see on the first line of the body text
    ??????????????A?????????????????????????E????

    If so then the body text is just garbage...it is not being encoded properly
    and I have no idea why since this was fine a few days ago when I was still on
    CFMX6..Any further ideas???

    Thanks

    chuck1rar Guest

  7. #6

    Default Re: Japanese pages

    yes that's what i see for the "top left menu name". not sure which part you're
    referring to for that other text snippet. if the body text is garbaged then
    probably entered using a different encoding. just get your encodings straight &
    you should be good to go.

    PaulH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139