Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default accents issue

    Hello,

    i have a little issue with displaying accents in my flash forms.
    The "saving" of information is no problem. When i enter ? ? ? ? in my flash
    forms, they are saved corerctly to mySQL DB.
    When i make a query and retrieve info from the DB, however, it displays
    strange characters such as squares or so ...

    I have put the below code in my application.cfm (i saw this somwhere on the
    net, looking for a solution).
    Have you experience this issue?
    How can i solve it?

    Thanks,
    Kat

    <cfscript>
    setEncoding("form", "utf-8");
    setEncoding("url", "utf-8");
    </cfscript>
    <cfcontent type="text/html; charset=utf-8">

    superkat Guest

  2. Similar Questions and Discussions

    1. Problème avec les accents
      Bonjour, j'ai Acrobat Reader version mac sur un ordinateur Intel. Lorsque j'ouvre les formats pdf, il n'y a aucun accent aigu ni aucun autre...
    2. [XMLConnector] Problem with accents
      The XMLConnector is not listing the data in the DataGrid when in the XML it exists accents. Already I used UTF-8, but it did not decide. ...
    3. Characters with accents and proxies
      In a site we are developing we use a Flash movie. Variables are passed on to the Flash movie in the following way:...
    4. Spanish accents Using Mac
      I have found support for applying spanish accents on a PC, but what about on a Mac?
    5. Problem with accents
      I made 2 years ago a director project, now my client want to make several changes. The problem is that now in Windows XP there is an error with the...
  3. #2

    Default Re: accents issue

    superkat wrote:
    > The "saving" of information is no problem. When i enter ? ? ? ? in my flash
    > forms, they are saved corerctly to mySQL DB.
    what encoding for the db? what db driver? should be the JDBC & probably should
    add "using useUnicode=true&characterEncoding=utf8" to the driver url (advanced
    menu) if indeed you're using unicode.
    > When i make a query and retrieve info from the DB, however, it displays
    > strange characters such as squares or so ...
    in what? flash or html? squares indicate that the browser can't render that
    glyph using the current font. don't know what you mean by the "or so" part.
    PaulH **AdobeCommunityExpert** Guest

  4. #3

    Default Re: accents issue

    actually that should be: "useUnicode=true&characterEncoding=utf8"
    PaulH **AdobeCommunityExpert** Guest

  5. #4

    Default Re: accents issue

    Hello Paul,

    thanks for your reply.
    I am using cf flash forms.
    Yes, in the DB, my collation is uft8.
    The DB is MySQL 4.1
    You mention that i should be adding "useUnicode=true&characterEncoding=utf8"
    to the driver URL from the advance menu ... i'm lost, the advance menu of what?
    I don't see an advance menu in PhpMYadmin , and i cannot find it either in the
    CFIDE/Admin (i'm in MX 7) ... pardon my ignorance ... can you be so kind and
    specify me again where i would have to add this?

    Thanks,
    regards,
    kat


    superkat Guest

  6. #5

    Default Re: accents issue

    superkat wrote:
    > Yes, in the DB, my collation is uft8.
    *encoding* not collation.
    > The DB is MySQL 4.1
    using the JDBC driver?
    > You mention that i should be adding "useUnicode=true&characterEncoding=utf8"
    > to the driver URL from the advance menu ... i'm lost, the advance menu of what?
    cfadmin, datasource for that database, advanced menu

    PaulH **AdobeCommunityExpert** 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