Re: Flexible and Economical UTF-8 Decoder

From: Hans Aberg (haberg@math.su.se)
Date: Mon Apr 13 2009 - 02:30:20 CDT

  • Next message: Asmus Freytag: "Re: Flexible and Economical UTF-8 Decoder"

    On 13 Apr 2009, at 07:14, Bjoern Hoehrmann wrote:

    > I've written a simple UTF-8 decoding function that processes a single
    > byte at a time while the caller maintains its state. As such it is
    > much
    > easier to use correctly in many situations. What makes this feasible
    > is
    > having only about a dozen instructions in the function, so it is
    > easily
    > inlined.

    You might make an announcement in the Usenet newsgroup comp.compilers.

       Hans



    This archive was generated by hypermail 2.1.5 : Mon Apr 13 2009 - 02:33:28 CDT