In our previous episode, Michael Schnell said: > >> Is UTF-16 Widestring in FPC (and Delphi 200x ? ) not done just ignoring the > >> surrogates ? > > > > Lets hope not, > I don't think, full UTF-16 really would be desirable desirable over UC-2. > > Imagine you have a string of some million characters (e.g. a Book). All > functions that need to find the n-th character (like x[n], copy, ...) > would take forever, as they need to scan the complete string (if not > widestring is a rather complex tree-like format).
That is a solution to isolate such code and treat it different from the rest, not to mutilate the unicode standard. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel