Dealing With Erroneous Characters x 2

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Dealing With Erroneous Characters x 2

    Hello, In ColdFusion MX when I grab a value from a form POST using 'myvar =
    form.notes' I sometimes get wierd translations if a user enters some
    non-standard characters. This seems to happen most often in a free form fields
    to hold comments and notes. On my form I am using both text and texarea
    fields. Examples: & translates to: &amp&amp ' translates to an
    empty string etc. Is there a function or method that can be used to save these
    characters properly? Thanks very much, Michael P.S. This post has gone
    unaswered in the general forum.

    Michael42 Guest

  2. Similar Questions and Discussions

    1. #40749 [NEW]: pack and unpack erroneous behavior on 64bits hosts
      From: ben at ateor dot com Operating system: OpenBSD amd64 and sparc64 PHP version: 5.2.1 PHP Bug Type: Reproducible crash...
    2. Erroneous interactive eBook links in IND - is this a known bug?
      Hello I'm suffering from erroneous interactive eBook links in IND. Multiple unwanted windows appear from URL links. I can't clear them. Is this...
    3. Erroneous code added to page
      Hi I wonder if anyone here can help. I keep getting this code added to my page: <p style="margin-bottom: 0;">&nbsp;</p> whenever one of my...
    4. Dealing With Erroneous Characters
      Hello, In ColdFusion MX when I grab a value from a form (myvar = form.notes) I sometimes get wierd translations if a user enters nonstandard...
    5. #25616 [NEW]: stream-set_blocking() causes unexpected non erroneous exit from script.
      From: robert at interjinn dot com Operating system: Linux version 2.4.19-16mdk PHP version: 4.3.3 PHP Bug Type: Filesystem...
  3. #2

    Default Re: Dealing With Erroneous Characters x 2

    If the original text is coming from MS Word, your text fields may be full of
    characters that appear like strange crap once processed by the browser form.
    Shawn Porter has written a brilliant little UDF at
    [url]http://www.cflib.org/udf.cfm?id=725[/url] that coverts MS Word characters into a
    more standard format. Write back if you're unsure how to use the UDF. Heather

    H3ath0r 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