Frederick Cheung wrote: > On Aug 10, 10:02�pm, Calvin Nguyen <[email protected]> > wrote: >> When we render JSON using to_json() we are seeing problems where the >> accented 'e' character is getting mangled and causes our calling web >> client to fail since it's expecting properly UTF-8 encoded characters. >> > > What's actually stored in the database ? If you open up a console and > find the relevant object in the database what does the name attribute > contain ? I don't think that to_json does much more than spit out the > data ActiveRecord already has. > > Fred
Here is our record in the datbase: 322 Café Records NULL In debugging we have had to set up a webclient to stream the bytes and it results in what I summarized previously: Bytes Text 43 61 66 E9 C a f (should be accented e but get weird block unprintable character) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

