Changeset 200

Show
Ignore:
Timestamp:
01/12/08 23:12:03 (10 months ago)
Author:
conrad
Message:

remove no-longer needed -u|--utf8 options. UTF8 support is now determined
automatically

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • xsel/trunk/xsel.1x

    r193 r200  
    8181 
    8282.PP 
    83 \fBEncoding options\fR 
    84 .TP 
    85 \fB\-u\fR, \fB\-\-utf8\fR  
    86 Request the selection in UTF-8 if possible. 
    87 This option is useful when working with selections in national 
    88 (non Latin-1) charsets. If your X server and target application 
    89 support UTF8_STRING exchange, then the selection is returned as 
    90 a UTF-8 string. If your X server doesn't support this extension, 
    91 this option has no effect. If the target application doesn't support 
    92 the UTF-8 selection target, an empty selection is returned. 
    93  
    94 .PP 
    9583\fBX options\fR 
    9684.TP 
  • xsel/trunk/xsel.c

    r199 r200  
    115115  printf ("  -d, --delete          Request that the selection be cleared and that\n"); 
    116116  printf ("                        the application owning it delete its contents\n\n"); 
    117   printf ("Encoding options\n"); 
    118   printf ("  -u, --utf8            Request selection in UTF-8 if possible\n\n"); 
    119117  printf ("Selection options\n"); 
    120118  printf ("  -p, --primary         Operate on the PRIMARY selection (default)\n"); 
     
    18331831  char * display_name = NULL; 
    18341832  long timeout_ms = 0L; 
    1835   int need_utf8 = False; 
    18361833 
    18371834  progname = argv[0]; 
     
    18651862      do_append = True; 
    18661863      dont_output = True; 
    1867     } else if (OPT("--utf8") || OPT("-u")) { 
    1868       need_utf8 = True; 
    18691864    } else if (OPT("--input") || OPT("-i")) { 
    18701865      do_input = True;