1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Valid unicode... that you don't want

Discussion in 'HTML, Graphics & Programming' started by rexehuk, Jul 16, 2016.

  1. rexehuk

    Mobster

    Joined: Jun 13, 2009

    Posts: 3,925

    Location: My own head

    Hey all,

    Does anyone know of a clean way to remove characters like this?

    [​IMG]

    Now, the site in question is worldwide, and as such I've passed up things like an A-Z a-z 0-9 regex replace, cause it will clean too aggressively against russians for example.

    I thought someone may have created a nice clean function somewhere, to strip out these image type unicode characters... but cannot find one.

    Any clever ideas? :)
     
  2. sniffy

    Sgarrista

    Joined: Dec 12, 2003

    Posts: 8,160

    Location: East Sussex

  3. rexehuk

    Mobster

    Joined: Jun 13, 2009

    Posts: 3,925

    Location: My own head

  4. sniffy

    Sgarrista

    Joined: Dec 12, 2003

    Posts: 8,160

    Location: East Sussex