Re: HeSVKEY_force and unicode

2004-12-28 Thread Ton Hospel
In article <[EMAIL PROTECTED]>, Nicholas Clark <[EMAIL PROTECTED]> writes: > On Sat, Dec 11, 2004 at 04:55:03PM +, Ton Hospel wrote: >> I noticed that if you use HeSVKEY_force on a HE*, it returns an SV >> around the raw character sequence that was used as the key. Isn't >> that wrong

Re: HeSVKEY_force and unicode

2004-12-27 Thread Nicholas Clark
On Sat, Dec 11, 2004 at 04:55:03PM +, Ton Hospel wrote: > I noticed that if you use HeSVKEY_force on a HE*, it returns an SV > around the raw character sequence that was used as the key. Isn't > that wrong in the case of unicode ? I had expected it to apply > SvUTF8_on on the resulting key if

HeSVKEY_force and unicode

2004-12-11 Thread Ton Hospel
I noticed that if you use HeSVKEY_force on a HE*, it returns an SV around the raw character sequence that was used as the key. Isn't that wrong in the case of unicode ? I had expected it to apply SvUTF8_on on the resulting key if HeKUTF8(he) and do an sv_utf8_upgrade in case HeKWASUTF8(he). If y