Killing a message with extended ascii characters

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Killing a message with extended ascii characters

  • Creator
    Topic
  • #53787
    Michael Hertel
    Participant

      Can anyone come up with a line of tcl code to identify if a msg contains any character > ascii 127 so I can kill the message?

      Cerner Millinneium sent out a trade mark symbol in an NTE which caused the target to die.

      Cerner’s solution is to look for trade mark symbols by themselves.

      We all know that if they sent a trade mark, next time they’ll send a copy right symbol.

      I don’t want to chase these individually but can’t think of an elegant way to scan the message for anything > ascii 127.

    Viewing 1 reply thread
    • Author
      Replies
      • #78939
        James Cobane
        Participant

          Mike,

          You could try the “string is ascii” string comparison.

          Thanks,

          Jim Cobane

          Henry Ford Health

        • #78940
          Michael Hertel
          Participant

            Great, thanks!

        Viewing 1 reply thread
        • The forum ‘Tcl Library’ is closed to new topics and replies.