> According to http://www.postgresql.org/docs/8.4/static/multibyte.html
> Unicode as an encoding name is just an alias for UTF8.  Earlier
> versions only list Unicode as the name of that encoding, so I assuming
> this means that setting the name unicode ensures that a range of
> postgresql versions will use UTF8 (or perhaps the database.yml
> template hasn't been updated from the time where the only name for
> UTF8 was Unicode)
>
> Fred
>
> Fred

Yeah I checked the same and saw that UTF8 was listed. But confused 
because different opinions regarding their meanings varies. And also 
that Rails would make that differentiation.

But checking the db with PgAdmin3 locally I can see this info:

CREATE DATABASE app_development
  WITH OWNER = me
       ENCODING = 'UTF8'
       TABLESPACE = pg_default
       CONNECTION LIMIT = -1;

So ultimately encoding: unicode translates into utf8

Thanks Fred!

-- 
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.

Reply via email to