[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Perl's cc
From: |
Gavin Smith |
Subject: |
Re: Using Perl's cc |
Date: |
Sat, 11 Jul 2015 14:38:45 +0100 |
On 11 July 2015 at 14:14, Eli Zaretskii <address@hidden> wrote:
> There's one other issue with the MS-Windows support: it's wchar_t is a
> UTF-16 encoding of Unicode codepoints. So characters outside of the
> BMP yield 2 wchar_t values, not 1. The code in xspara.c assumes
> wchar_t is a scalar type that is wide enough to support any Unicode
> codepoint, which is false for Windows.
>
> To resolve this, we could use a data type other than wchar_t, and
> convert the UTF-16 encoding into a Unicode codepoint with a trivial
> function. Is it OK to make that change?
I believe wint_t is guaranteed to be at least 32 bits wide.
- Re: Using Perl's cc, (continued)
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc,
Gavin Smith <=
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/03
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/03
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/03
- Re: Using Perl's cc, Gavin Smith, 2015/07/03
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04
- Re: Using Perl's cc, Gavin Smith, 2015/07/04
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/04