You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected
def init_gon
...
gon.vapid_public_key = Base64.urlsafe_decode64(Rails.application.secrets.vapid[:public_key])
end
But the Gon::Base.render_data complains that : "\xD2" from ASCII-8BIT to UTF-8
I've tried different string conversion using force_encoding method without success.
Any hints ?
Thanks a lot
The text was updated successfully, but these errors were encountered:
Hi,
I'm using something like
But the Gon::Base.render_data complains that : "\xD2" from ASCII-8BIT to UTF-8
I've tried different string conversion using force_encoding method without success.
Any hints ?
Thanks a lot
The text was updated successfully, but these errors were encountered: