Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须连接到具有ENCODING = 'SQL_ASCII';的旧版 postgres 数据库。.
如何在我的 Rails 应用程序中设置此编码?
你可以在你的 database.yml 中设置它:
development: adapter: postgresql encoding: sql_ascii database: appname_development username: root password: host: localhost