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
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ A Ruby client for the Slack [Web](https://api.slack.com/web), [RealTime Messagin
31
31
-[Other](#other)
32
32
-[Web Client Options](#web-client-options)
33
33
-[Pagination Support](#pagination-support)
34
+
-[Character Encoding](#character-encoding)
34
35
-[Error Handling](#error-handling)
35
36
-[Slack Errors](#slack-errors)
36
37
-[Rate Limiting](#rate-limiting)
@@ -276,6 +277,24 @@ end
276
277
all_members # many thousands of team members retrieved 10 at a time
277
278
```
278
279
280
+
#### Character Encoding
281
+
282
+
Note that Slack expects `text` to be UTF-8 encoded. If your messages appear with text such as `BAD+11` in Slack, check `text.encoding` and `.encode(Encoding::UTF_8)` your messages before sending them to Slack.
0 commit comments