nnev / frank

Frank is an IRC bot written in Go. It’s my pet project to learn Go and specifically tailored to my needs.
ISC License
8 stars 7 forks source link

frank doesn't care about encoding #24

Closed joker234 closed 9 years ago

joker234 commented 9 years ago

in #chaos-hd on robustirc, 18:08 UTC +0200 2015-04-07, frank had an encoding issue. He gets the URL http://www.spiegel.de/schulspiegel/abi/abitur-schueler-beantragt-klausur-nach-informationsfreiheitsgesetz-a-1027298.html and puts [Link Info] Abitur: Sch�ler beantragt Klausur nach Informationsfreiheitsgesetz - SPIEGEL ONLINE into the channel.

My guess is, that frank doesn't care about Content-Type, which is iso-8559-1 in this example.

Maybe someone want to fix it.

joker234 commented 9 years ago

Hmm, I think this might be an related issue: #noname-ev on robustirc, 08:36 UTC +0200 2015-05-28, url: http://www.agrarnetz.com/thema/schweinemast frank putted [Link Info] Schweinefutter/Schweinefütterung | Schweinemastfutter, Sauenfütterung, Ferkelfutter into the channel.