Skip to content
This repository has been archived by the owner on Apr 14, 2018. It is now read-only.

Commit

Permalink
Thou shalt not cargo cult program. Remove utf-8 conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Thebo committed Aug 12, 2012
1 parent 9135694 commit 803bff0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion colorise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def colorise_message(buffer_ptr)

buffer_name = Weechat.buffer_get_string(buffer_ptr, "name")
input = Weechat.buffer_get_string(buffer_ptr, "input")
input.force_encoding('UTF-8')

newput = "\x0309#{input}"
Weechat.buffer_set(buffer_ptr, "input", newput)
Expand Down

0 comments on commit 803bff0

Please sign in to comment.