diff options
| -rw-r--r-- | src/plugins/unicode.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unicode.rs b/src/plugins/unicode.rs index 7633c2d..60f01d5 100644 --- a/src/plugins/unicode.rs +++ b/src/plugins/unicode.rs @@ -35,7 +35,7 @@ impl<C: FrippyClient> Unicode<C> { fn format_response(&self, content: &str) -> String { let character = content.chars().next(); if let Some(c) = character { - let mut buf = [0; 2]; + let mut buf = [0; 4]; let byte_string = c .encode_utf8(&mut buf) |
