zoho / zcrm-ruby-sdk

MIT License
0 stars 8 forks source link

Bug - file persistence error on Ubuntu due to file encoding #1

Open niciliketo opened 4 years ago

niciliketo commented 4 years ago

When using file persistence I encounter an error when refreshing tokens: Encoding::UndefinedConversionError ("\xBE" from ASCII-8BIT to UTF-8)

I found that the file where the tokens are persisted has encoding of ASCII-8BIT but my encironvoment is using UTF-8

niciliketo commented 4 years ago

@pravesh-a I would be really grateful if this could be considered for merging https://github.com/zoho/zcrm-ruby-sdk/pull/2

niciliketo commented 4 years ago

Fixed in new changes from @pravesh-a - THANK YOU https://github.com/zoho/zcrm-ruby-sdk/commit/fd20d952a1dea5e3f0b004cf666d5244d41eece3