|
UTF-8 and live updates: msg#00173lang.smalltalk.squeak.seaside
Hi all! To support UTF-8 characters in GET request JS code have to be corrected, encodeURIComponent() have to be used instead of escape(): function addParameter(uri, key, value) { var separator = "?"; if (uri.indexOf("?") >= 0) separator = "&"; return uri + separator + key + "=" + encodeURIComponent(value); } |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Rails and Seaside: 00173, Chris Wong |
|---|---|
| Next by Date: | Re: Re: Rails and Seaside: 00173, Damien Cassou |
| Previous by Thread: | [VW] Porting 2.6a2 - WAHtmlAttributesi: 00173, Bany, Michel |
| Next by Thread: | UI Enhancements (was: Rails and Seaside): 00173, Blanchard, Todd |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |