diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2013-06-08 10:20:37 -0400 |
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2013-06-08 10:20:37 -0400 |
| commit | 489be9c87e7eab07c0cadd1be86bfaa174532c87 (patch) | |
| tree | b10d736e5ddd06a4c6ee9956b40e1efa94d48dd3 /src/tutorial/complex.source | |
| parent | 88ce29a91a229e6ac9cbe56da5742553446a7670 (diff) | |
Don't downcase non-ascii identifier chars in multi-byte encodings.
Long-standing code has called tolower() on identifier character bytes
with the high bit set. This is clearly an error and produces junk output
when the encoding is multi-byte. This patch therefore restricts this
activity to cases where there is a character with the high bit set AND
the encoding is single-byte.
There have been numerous gripes about this, most recently from Martin
Schäfer.
Backpatch to all live releases.
Diffstat (limited to 'src/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions
