Thursday, September 24, 2009

Rails JSON utf-8 for charset

To post a JSON data from a form with utf-8 charset, set form.acceptCharset = "utf-8";

No comments: