Created
August 25, 2017 06:54
-
-
Save mnemocron/7fdc87364275733856f429bc77a1061b to your computer and use it in GitHub Desktop.
quick unicode garbage creator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#_*_ coding: utf-8 _*_ | |
# python unicode-spammer.py > unicodes.txt | |
# generates all possible unicode characters | |
# use the generated garbage to test the behaviour of user input fields | |
# GIGO | |
import unicodedata | |
outstring = "" | |
for i in range(0xffff): | |
outstring += (unichr(i).encode('utf-8')) | |
if ( (i % 256) == 0 ): | |
print (outstring) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment