Created
July 9, 2019 07:55
-
-
Save martin12333/83abf63bead11a5280b164b9fcf4a4c7 to your computer and use it in GitHub Desktop.
unicode chr range
This file contains hidden or 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
# python3 | |
#from __future__ import print_function | |
import sys | |
#f=open('/home/martin/Dropbox/unicode,h8/UnicodeData.txt' ) | |
f=sys.stdin | |
#f | |
#rls=f.readlines() | |
#rls[:3] | |
#l=rls[40] | |
#for l in f: | |
for i in range(0xf700, 0xf900) : | |
#l | |
##sp=l.split(';') | |
#sp | |
##s=sp[0] | |
#s | |
#%hist | |
##i=int(s,16) | |
#i | |
#if (i>=0x2600) and (i<0x2700): | |
#if (i>=0x2600) and (i<0x2700): | |
#if (i>=0x1f300) and (i<0x1fffe): | |
#if (i>=0x1f300) and (i<0x1f303): | |
if True: | |
#if (i>=0x1) and (i<0x1fffe): | |
### py2 error a0 if ((i>=0x20) and (i<0x7f)) or ((i>=0xa0) and (i<0x400)): | |
###if ((i>=0x20) and (i<0x7f)) or ((i>=0xa0) and (i<0x400)): | |
#if (i>=0x9) and (i<0x400): | |
ch=chr(i) | |
#ch=unichr(i) | |
#ch | |
print(i,ch,'', sep='\t') | |
##print(ch+u';'+l.lower() , end='') | |
#print(u' ;'+ch+u';'+l.lower() , end='') | |
#print(u' '+ch+u';'+ch+u';'+l.lower() , end='') | |
#print(u' '+ch+u';'+l.lower() , end='') | |
#f.close() | |
#ch+';'+l | |
#%hist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment