[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject ou
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5? |
Date: |
Mon, 21 May 2012 12:46:22 -0400 |
>So these functions only work portably in single-byte encodings.
>Particular implementations might choose to make them do something useful
>for input values above 255, but you couldn't expect that to work
>everywhere. To work portably in UTF8 and other multi-byte encodings,
>you have to go over to the wide-character functions in <wctype.h>.
Yeah, but the issue isn't about values about 255, it's about values above
127. Your locale is UTF-8, and you call isspace(0xa0). Does that mean
"the character 0xa0", which is U+00A0 (a space)? Or does it mean
one byte of a multibyte character, in which case ... who knows?
--Ken
- [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Ken Hornstein, 2012/05/20
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Tom Lane, 2012/05/20
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Ken Hornstein, 2012/05/20
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, paul vixie, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Tethys, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Ken Hornstein, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Tom Lane, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?,
Ken Hornstein <=
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Tom Lane, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Ken Hornstein, 2012/05/21
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, Tethys, 2012/05/23
- Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, valdis . kletnieks, 2012/05/24
Re: [Nmh-workers] A € for your thoughts - should we fix UTF-8 subject output in scan for 1.5?, paul vixie, 2012/05/21