I need to validate that a string (in a Django form) contains "sensible" characters before sending this to an API that won't allow chars like emojis. It's somewhat unclear what chars this API won't allow, but I figured that it will allow all "sensible" chars that's available to type on a normal keyboard.
That includes !"#€%&/() etc. etc. and i.e. swedish chars like åäö, but I want to raise a validation error when chars like emojis etc. are in the string.
Thanks for any help solving this.