This function removes all non-unicode characters from arbitrary content. This
can be used to ensure that the API call will not fail server-side to parse the
request.
Since this is a lossy operation, warn the user.
Use-case: buffers that we want to gist can contain arbitrary content, but we
still need to encode it.
Coverage increased (+1.1%) to 26.413% when pulling 953b15115b02821de972c41684dbc5badbcd6836 on unicode-content into c8904c5a2154b9d60b579c1381181e66037badd7 on master.
Coverage increased (+1.1%) to 26.413% when pulling 953b15115b02821de972c41684dbc5badbcd6836 on unicode-content into c8904c5a2154b9d60b579c1381181e66037badd7 on master.
This function removes all non-unicode characters from arbitrary content. This can be used to ensure that the API call will not fail server-side to parse the request.
Since this is a lossy operation, warn the user.
Use-case: buffers that we want to gist can contain arbitrary content, but we still need to encode it.
This closes defunkt/gist.el#86