[patch] scp + UTF-8

Michael Stone
Wed, 20 Jan 2016 12:50:03 -0000

On Wed, Jan 20, 2016 at 01:13:10AM +0100, Roland Mainz
wrote:
>3. I am not sure whether there is a specific byte limit for UTF-8 in
>any of the standards, e.g. "- To support terminals larger then
>MAX_WINSIZE and still be properly indented I increased the buf size to
>4x the size of MAX_WINSIZE, since the maximum size of an UTF-8 char
><should> be 4 bytes." might not be a portable assumption and I
would
>at least safeguard it.

Isn't that assumption completely broken in the presence of combining
characters?

Mike Stone