Thanks a lot, Ralf!
Ralf Nieuwenhuijsen-2 wrote: > > Hi, > > I had the same problem with my rails backend. > It's not a qooxdoo problem though. It's that rails defaults the database > connection to a different charset than qooxdoo uses by default. > > Just add this to each database configuration in database.yml: > > encoding: utf8 > > So it will look something like: > > production: > adapter: mysql > database: studenten > username: studenten > password: secret > encoding: utf8 > > > Then all your character set issues go away. > > Greetings > Ralf > > > On Mon, Jul 20, 2009 at 3:09 AM, GlebM <[email protected]> wrote: > >> Hi >> >> We are trying qooxdoo in our web application with Rails Backend. >> Right now I am struggling to make qooxdoo work with the unicode JSON >> data. >> >> The server returns a valid JSON data (generated by "object.to_json"). >> Here is one of the values copied from the data "a — b". >> The problem is that the character in the middle (in html it would be an & >> mdash;) does not get displayed correctly in the list, where the data is >> binded. >> >> Here is the relevant part of the qooxdoo code: >> >> var controller = new qx.data.controller.List(null, list); >> controller.setLabelPath("song.display_name"); >> this.store = new qx.data.store.Json(url_get); >> this.store.bind("model", controller, "model"); >> >> I tried searching the mailing list, but I could not find anything. >> Maybe someone knows a way to make it work correctly? >> >> Thank you, >> Gleb >> >> ------------------------------ >> View this message in context: JSON and UTF-8 >> issues<http://www.nabble.com/JSON-and-UTF-8-issues-tp24562502p24562502.html> >> Sent from the qooxdoo-devel mailing list >> archive<http://www.nabble.com/qooxdoo-devel-f3822.html>at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://www.nabble.com/JSON-and-UTF-8-issues-tp24562502p24579894.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
