xclipboard: Changes to 'master'

James Cloos cloos at kemper.freedesktop.org
Wed Jul 16 11:39:11 PDT 2008


 xclipboard.c |  144 +++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 91 insertions(+), 53 deletions(-)

New commits:
commit 9f85f47d7cf25fba98207cc8c0a64b2bfc494c14
Author: Stanislav Maslovski <stanislav.maslovski at gmail.com>
Date:   Wed Jul 16 14:35:49 2008 -0400

    Fix UTF-8 support.
    
      * use XA_UTF8_STRING defined in <X11/Xmu/Atoms.h>.
      * add "*international: true" to fallback resources like xedit does.
      * get rid of a separate InsertClipboardUtf8() and rewrite InsertClipboard()
        to support proper conversion from UTF-8 with fallbacks to CTEXT or STRING
        in case of errors.
      * add COMPOUND_TEXT to the list of supported targets and unify
        the conversion code for UTF-8, CTEXT and STRING in ConvertSelection().
        Use a proper default for target TEXT.
    
    Signed-off-by: James Cloos <cloos at jhcloos.com>



More information about the xorg-commit mailing list