wayclip

Wayland clipboard utility
git clone git://git.nihaljere.xyz/wayclip
Log | Files | Refs | README | LICENSE

commit 9ee3e3043e7f22a32840623a5370eefce28bd734
parent 9bc59e2da42673ed491d577c1b9c4c6d1b3a56b4
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Sun, 22 May 2022 01:33:22 -0500

assume UTF-8 in absence of an explicit mimetype

RFC2046 says that the "text/plain" mimetype without any additional
parameters should be interpreted as ASCII. Since UTF-8 is generally
preferred, it should be the default.

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -56,7 +56,7 @@ struct { const char *seat; bool foreground; } options = { - .type = "text/plain" + .type = "text/plain;charset=utf-8" }; void