Changeset 200
- Timestamp:
- 01/12/08 23:12:03 (10 months ago)
- Files:
-
- xsel/trunk/xsel.1x (modified) (1 diff)
- xsel/trunk/xsel.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
xsel/trunk/xsel.1x
r193 r200 81 81 82 82 .PP 83 \fBEncoding options\fR84 .TP85 \fB\-u\fR, \fB\-\-utf8\fR86 Request the selection in UTF-8 if possible.87 This option is useful when working with selections in national88 (non Latin-1) charsets. If your X server and target application89 support UTF8_STRING exchange, then the selection is returned as90 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 support92 the UTF-8 selection target, an empty selection is returned.93 94 .PP95 83 \fBX options\fR 96 84 .TP xsel/trunk/xsel.c
r199 r200 115 115 printf (" -d, --delete Request that the selection be cleared and that\n"); 116 116 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");119 117 printf ("Selection options\n"); 120 118 printf (" -p, --primary Operate on the PRIMARY selection (default)\n"); … … 1833 1831 char * display_name = NULL; 1834 1832 long timeout_ms = 0L; 1835 int need_utf8 = False;1836 1833 1837 1834 progname = argv[0]; … … 1865 1862 do_append = True; 1866 1863 dont_output = True; 1867 } else if (OPT("--utf8") || OPT("-u")) {1868 need_utf8 = True;1869 1864 } else if (OPT("--input") || OPT("-i")) { 1870 1865 do_input = True;
