[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode support for the MS Windows clipboard
From: |
Eli Zaretskii |
Subject: |
Re: Unicode support for the MS Windows clipboard |
Date: |
Sat, 29 May 2004 14:21:15 +0200 |
> From: Benjamin Riefenstahl <address@hidden>
> Date: Fri, 28 May 2004 15:26:10 +0200
>
> How does this sound:
>
> - If selection-coding-system has the form /(.*-)?utf-16.*/, I assume
> CF_UNICODETEXT is wanted.
>
> - If selection-coding-system has the form /cp[0-9]+.*/ or
> /windows-[0-9]+.*/, I derive the codepage from that.
>
> - Check if the codepage is identical to GetACP() or GetOEMCP().
> If it is, use CF_TEXT or CF_OEMTEXT accordingly.
>
> - Else get a corresponding LCID (reverse mapping via
> EnumLocales()) which has the codepage as OEM or "ANSI". In this
> case we also need to set LC_LOCALE accordingly.
That's okay, I think, if we also set the default value of
selection-coding-system on Windows to utf-16-le-dos (or what's its
name).
- Re: [Patch] Unicode support for the MS Windows clipboard, (continued)
- Re: [Patch] Unicode support for the MS Windows clipboard, Eli Zaretskii, 2004/05/27
- Re: [Patch] Unicode support for the MS Windows clipboard, Stefan Monnier, 2004/05/27
- Re: Unicode support for the MS Windows clipboard, Benjamin Riefenstahl, 2004/05/27
- Re: Unicode support for the MS Windows clipboard, Benjamin Riefenstahl, 2004/05/28
- Re: Unicode support for the MS Windows clipboard, Jason Rumney, 2004/05/28
- Re: Unicode support for the MS Windows clipboard, Kenichi Handa, 2004/05/29
- Re: Unicode support for the MS Windows clipboard, Eli Zaretskii, 2004/05/29
- Re: Unicode support for the MS Windows clipboard,
Eli Zaretskii <=
- Re: Unicode support for the MS Windows clipboard, Benjamin Riefenstahl, 2004/05/29
- Re: Unicode support for the MS Windows clipboard, Eli Zaretskii, 2004/05/29
- Re: Unicode support for the MS Windows clipboard, Eli Zaretskii, 2004/05/28
- Re: Unicode support for the MS Windows clipboard, Benjamin Riefenstahl, 2004/05/29
Re: [Patch] Unicode support for the MS Windows clipboard, Jason Rumney, 2004/05/27