in reply to Re: Re: Re: Re: regex for utf-8
in thread regex for utf-8
I am wrapping my head around the bit-masking and conditional bit-shifting I need to do to extract the actual value of the code. The czyborra site http://czyborra.com/utf/ is invaluable, but my head is thick. How do I march down from the high bit of the first byte, testing and then extracting the hex codes from the succeeding bits?That's what unpack "U*" does.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: regex for utf-8
by Anonymous Monk on Feb 28, 2003 at 22:58 UTC | |
by Anonymous Monk on Feb 28, 2003 at 23:06 UTC |