URI: 
       tRemove UTF-8 chars from source files - sacc - sacc(omys), simple console gopher client (mirror)
  HTML git clone https://git.parazyd.org/sacc
   DIR Log
   DIR Files
   DIR Refs
   DIR LICENSE
       ---
   DIR commit 8f6054695180eb9181e94cc8faa8cb941144891a
   DIR parent ba3bd1d88313cb8b876bc5d05de3d7449c03f38b
  HTML Author: Quentin Rameau <quinq@fifth.space>
       Date:   Mon, 29 Jan 2018 00:58:24 +0100
       
       Remove UTF-8 chars from source files
       
       Diffstat:
         M sacc.c                              |       6 ++++--
         M ui_ti.c                             |       2 +-
         M ui_txt.c                            |       2 +-
       
       3 files changed, 6 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/sacc.c b/sacc.c
       t@@ -362,7 +362,8 @@ connectto(const char *host, const char *port)
                int sock, r;
        
                if (r = getaddrinfo(host, port, &hints, &addrs)) {
       -                uistatus("Can't resolve hostname ā€œ%sā€: %s", host, gai_strerror(r));
       +                uistatus("Can't resolve hostname \"%s\": %s",
       +                         host, gai_strerror(r));
                        return -1;
                }
        
       t@@ -381,7 +382,8 @@ connectto(const char *host, const char *port)
                        return -1;
                }
                if (r < 0) {
       -                uistatus("Can't connect to: %s:%s: %s", host, port, strerror(errno));
       +                uistatus("Can't connect to: %s:%s: %s",
       +                         host, port, strerror(errno));
                        return -1;
                }
        
   DIR diff --git a/ui_ti.c b/ui_ti.c
       t@@ -149,7 +149,7 @@ uistatus(char *fmt, ...)
        
                if (n < sizeof(bufout)-1) {
                        n += snprintf(bufout + n, sizeof(bufout) - n,
       -                              " [Press a key to continue ā˜ƒ]");
       +                              " [Press a key to continue \xe2\x98\x83]");
                }
                if (n >= sizeof(bufout))
                        bufout[sizeof(bufout)-1] = '\0';
   DIR diff --git a/ui_txt.c b/ui_txt.c
       t@@ -78,7 +78,7 @@ uistatus(char *fmt, ...)
        
                if (n < sizeof(bufout)-1) {
                        n += snprintf(bufout + n, sizeof(bufout) - n,
       -                              " [Press Enter to continue ā˜ƒ]");
       +                              " [Press Enter to continue \xe2\x98\x83]");
                }
                if (n >= sizeof(bufout))
                        bufout[sizeof(bufout)-1] = '\0';