WordPress.org

Ready to get started?Download WordPress

Forums

Can I suppress foreign languages in my comments? (2 posts)

  1. aaron1728
    Member
    Posted 8 years ago #

    Is there a way to reject all comments with non-ASCII characters?

  2. petit
    Member
    Posted 8 years ago #

    No, not specific to WordPress. I guess you could write a filter that parses every comment and compares every character with an ASCII table.

    Would you then discard the whole comment or just replace the non ASCII with something nice?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.