RE: Proposing UTF-21/24

From: Ruszlan Gaszanov (ruszlan@ather.net)
Date: Tue Jan 23 2007 - 09:32:05 CST

  • Next message: Jon Hanna: "Proposal TZ-21 and TZ-24"

    > I implemented a BOCU-1 encoder/decoder in about 400 lines of C++,
    > so I wouldn't call it too complex.

    Complexity is a relative concept.

    For comparison:
    - UTF-8 encoder+decoder - under 100 lines (100 / 400 = 25%)
    - UTF-16 encoder+decoder - under 40 lines (40 / 400 = 10%)
    - UTF-24 encoder+decoder - under 20 lines (20 / 400 = 5%)
    - UTF-21 encoder+decoder - exactly 2 lines (2 / 400 = 0.5%)

    Ruszlán



    This archive was generated by hypermail 2.1.5 : Tue Jan 23 2007 - 09:34:46 CST