[Rails] Re: RoR + MySQL + Unicode
Johan Chaves Saborío
johann04 at gmail.com
Wed Jul 26 18:02:14 GMT 2006
I had similar problems, and after trying everything...
I noticed that the problem was my database client... I mean, I used the
windows "console" to execute the mysql client for loading the data and
special characters displayed a '?' on my browser, but when I used a rake
task to load data, special characters were displayed correctly.
I don't know why... but I worked for me..... I hope it helps you....
On 7/26/06, Agnieszka Piekarska <piekarka3 at interia.pl> wrote:
>
> Thanks for advice!
> ... but my application doesn't display non-English characters. I
> installed mysql gem and try charset iso-8859-1. Nothing ....
> I use text_field_with_auto_complete and there I display data from
> database. May it cause problem? And when application display data from
> database method find(:all) is executed? I decoded data in database as
> utf-8 and I read data in utf-8 coding.
> Are used special codings from reading from database to display in
> application?
> Thanks.
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060726/ed95d36a/attachment.html
More information about the Rails
mailing list