hi, all i had a strange problem that i can not use ActiveRecord to save french and japanese.
i use Tmail and mms2r to parse a mail, and i have a mail model in the db, the mail model has a txt_body column. After i had fetched the mail from mail server and parse the mail, i set the txt_body with the value of the mail's body. I found that i could not save the french and japanese correctly. for example, if the mail body contains "français français français", i just get "fran" in the db, losing the remaim characters, that is "çais français français". the same as japanese. i had setted my db to use utf-8. any advise? -- Posted via http://www.ruby-forum.com/. _______________________________________________ Railsi18n-discussion mailing list Railsi18n-discussion@rubyforge.org http://rubyforge.org/mailman/listinfo/railsi18n-discussion