logo

scripts

A bunch of scripts, some to be moved to their own repository git clone https://hacktivis.me/git/scripts.git

unicode.py3 (237B)


  1. #!/usr/bin/python3
  2. # -*- encoding: utf-8 -*-
  3. unicodeChars = chr(1)
  4. for i in range(2, 1114111):
  5. try:
  6. unicodeChars = str(unicodeChars + chr(i))
  7. print(i)
  8. except UnicodeEncodeError:
  9. print('UnicodeEncodeError')
  10. print(unicodeChars)