Posted Mar 24, 2010 20:38 UTC (Wed) by flewellyn (subscriber, #5047)
In reply to: UTF-16 by wahern
Parent article: Resetting PHP 6
>What languages should do is to leave intact existing notions of "strings", which are irreconcilably burdened by decades of ingrained habit, and create new syntax, new APIs, and new libraries which are thoroughly Unicode oriented.
So, Unicode text would have to be represented by some other data structure?
Intriguing. What would you suggest? Obviously a simple array would not cut it, that's what we have now and that's what you're arguing against. So, what would we use instead? Linked lists of entities? Trees of some kind?