Toot toooooooot (Bluesky-Mastodon cross-poster)

fixed images failing if they have non-ascii chars in alt

Changed files
+1 -1
app
+1 -1
app/mastodon_api.rb
··· 71 71 72 72 form_data = [ 73 73 ['file', data, { :filename => filename, :content_type => content_type }], 74 - ['description', alt.to_s] 74 + ['description', alt.to_s.force_encoding('ASCII-8BIT')] 75 75 ] 76 76 77 77 request = Net::HTTP::Post.new(url, headers)