function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AkiraAkira 

Heroku crash with asf-adapter with UTF-8

Hi, 

 

I put             Encoding.default_external='UTF-8'

 

in the bottom of config/environment.rb.

 

I could run the rails apps on my local machine but it crashed when I deployed in Heroku.

 

Could you please help me to avoid this crash ?

I 'd like to use Japanese in SFDC database, so UTF-8 is mandatory.

 

Regards,

 

Akira

cloudcodercloudcoder

UTF-8 support was added to the Force.com for Ruby toolkit which is available in github here. https://github.com/developerforce/Force.com-Toolkit-for-Ruby

 

I suspect you are using either an older version, or the 'non force.com provided' active-salesforce adapter.