#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2004
    Posts
    84
    Rep Power
    10

    Detect language of string


    I have a trouble ticket system that interacts with email. Like any other inbox, spam is unavoidable. I would like to automatically filter out any email that contains non-english characters. How might I go about that?
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,265
    Rep Power
    968
    Probably something like this to check for character codes above a certain range. http://www.bennadel.com/blog/1155-Cl...ColdFusion.htm. But instead of cleaning them out, you can do whatever you want (abort processing, etc.)

    Comments on this post

    • rawk agrees

IMN logo majestic logo threadwatch logo seochat tools logo