On 10/10/06, Steve Slevinski <[EMAIL PROTECTED]> wrote: > > I need to use Unicode with Mochikit. It seems to work fine except for the > log function. > > I have a form for a username, password and email. > > I'm using オープ for the username. I put together the query vars using > encodeURIComponent(), send it to sendXMLHttpRequest, dump the query vars > with the log function, and then add the callbacks. The query vars are > displayed in the log, but then everything stops. > > INFO: > > action=command&PHPSESSID=vpmunf21upoi95ucgqpt9s24o3&command=new%20user%20system%201&usr=%E3%82%AA%E3%83%BC%E3%83%97&psw=098f6bcd4621d373cade4e832627b4f6&email=a%40b.c&subEnter=Enter > > For some reason, sending an encoded unicode string to the log function > stops everything dead. I commented out the log statement for the query vars > and everything works fine again. What's going on?
Safari crashes if you log the % character. There's a workaround for this in the trunk. -bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
