Finding non-printing characters in data

Ask a Question related to Informix, Design and Development.

  1. #1

    Default Finding non-printing characters in data


    HP-UX 11.0
    IDS 9.21.HC4


    Just wondering if there is a simple way to find non-printing characters
    embedded in char fields.
    I have tried to match on the hex characters but it is actually a
    substring that I am looking for.
    Is there a function to convert HEX back to character???

    What I need is something like this (except this doesn't work...)

    table1
    ( field1 char(10),
    field2 char(100)
    );


    Select field1, field2
    from table1
    where field2 like (some Hex value);


    I know I am way off. Any help would be appreciated.

    THANKS!



    Laurie Gustin
    Utah Department of Public Safety
    801-965-4410
    [email]lgustin@utah.gov[/email]
    sending to informix-list
    Laurie Gustin Guest

  2. Similar Questions and Discussions

    1. Removing non-printing characters ...
      Folks ... I have a pipe-delimited ASCII text file with a lot of different non-printing characters. Rather than try and figure out all the...
    2. Garbled/Stacked characters when printing
      3.06 GHz Intel Core 2 Duo 10.5.5 Acrobat Pro 8 Have a sudden and perplexing problem this morning ... Went to print PDFs (which I've printed...
    3. Characters looking jumbled when printing
      Hi Guys, we have recently sent a pdf file to a client which opens up fine for us and prints for us, when the client opens the file it looks great on...
    4. finding a characters number in a text field
      charPosToLoc uses a number to define which character in the text field you are querying. I want to know what number char of line is in a text...
    5. Printing Polish characters - PROBLEM
      Hi I have a problem with printing Polish characters under Solaris 8 I set Polish locale, and on X-Windows it prints OK But from the line it...
  3. #2

    Default Re: Finding non-printing characters in data

    On Tue, 29 Jul 2003 11:23:01 -0400, Laurie Gustin wrote:

    The best way is to use a host language (like ESQL/C) and fetch the
    strings into FIXCHAR type host variable and scan for non-printables in
    the host language.

    Art S. Kagel

    > HP-UX 11.0
    > IDS 9.21.HC4
    >
    >
    > Just wondering if there is a simple way to find non-printing characters
    > embedded in char fields.
    > I have tried to match on the hex characters but it is actually a
    > substring that I am looking for.
    > Is there a function to convert HEX back to character???
    >
    > What I need is something like this (except this doesn't work...)
    >
    > table1
    > ( field1 char(10),
    > field2 char(100)
    > );
    >
    >
    > Select field1, field2
    > from table1
    > where field2 like (some Hex value);
    >
    >
    > I know I am way off. Any help would be appreciated.
    >
    > THANKS!
    >
    >
    >
    > Laurie Gustin
    > Utah Department of Public Safety
    > 801-965-4410
    > [email]lgustin@utah.gov[/email]
    > sending to informix-list
    Art S. Kagel 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