[Israel.pm] about utf8

Shmuel Fomberg semuelf at 012.net.il
Sun Jan 18 09:26:45 PST 2009


I've been reading a bit about utf8, and I learned that when reading a 
utf8 character, for each byte I need to check:
(byte & 0xC0 ) == 0xC0
means that there is another byte for this character. Otherwise, it's the 
  last byte of the character.


More information about the Perl mailing list