At 04:08 PM 6/19/2001 -0500, David L. Nicol wrote:
>Dan Sugalski wrote:
> > Hong Zhang wrote:
> >
> > > I don't see the core should support language/locale in this detail.
> > > I deal a lot of mix chinese/english text file. There is no way to 
> represent
> > > it using plain string, unless you want to make string be rich-format-text
> > > -buffer. Current locale or explicit locale parameter will suffice 
> your goal.
> >
> > On the other hand, the case of mixed-data strings was one that hadn't
> > occurred to me. With that in mind, it's a far less useful thing to tag data
> > with.
>
>If the internal string API is a tree instead of a contiguous memory block,
>the tagging could be done at the node or branch level.
>
>Besides, you get nondestructive inserts.

Yup. The only problem is that it makes the string data significantly more 
complex. I don't think it's a win for raw data. Perhaps for fancier data 
it'd work.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to