On Thu, 13 Nov 2003, Leopold Toetsch wrote:

> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > On Thu, 13 Nov 2003, Leopold Toetsch wrote:
>
> >>  * as long as there are only ascii keys: noop
> >>  * on first non ascii key, convert all hash to utf8 - doesn't change
> >>    hash values
>
> > Well... this is the place where things fall down. It does change hash
> > values. You may find yourself transcoding from, say, Shift-JIS to Unicode,
>
> Dan. It starts with ascii keys, unicode code-points 0x00..0x7f.
> When the first non-ascii key is to be stored, *ascii* keys are changed to
> utf8.

Which doesn't do much good if we've got non-ascii, non-unicode keys.

                                        Dan

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

Reply via email to