[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Surrogates and character representation
Per Bothner wrote:
> Random accesses to a position in a string that has not
> been previously accessed is not in itself useful.
Another use case, archaic as it may seem, is still important: processing
fixed-length fields in text files.
Such applications are probably not using Unicode ...
In Unicode-land, the concept is pretty meaningless: are you
(1) a fixed display width (number of columns) - if so the
numbers of "characters" (or bytes") is unrelated to the display
(2) a fixed number of bytes in a file - if so immediately fire anybody
who writes any new applications doing this! (And "legacy" applications
will not support Unicode.)