Jul-24-2018, 07:06 AM
in my utf-8 conversion function i use several powers of 2 but coded them like
when i get the code complete, tested working, and ready to release, i will post it.
two16 = 2**16 two21 = 2**21 two26 = 2**26 ... ... ... elif u < two16: # 2 octets ... elif u < two21: # 3 octets ... elif u < two26: # 4 octetsand so on.
when i get the code complete, tested working, and ready to release, i will post it.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.