Re: [dev] [PATCH] Replace character with U+FFFD if wcwidth() is -1

From: Dmitrij D. Czarkoff <>
Date: Tue, 28 Oct 2014 14:53:28 +0100

Silvan Jegen said:
> I do agree that this is the right approach. There is however another
> instance of a wcwidth call on line st.c:3443 that should be handled as
> well (maybe with abs in that particular case?).

As I get it, by the time wcwidth() is called there, all codepoints libc
is unaware of are already replaced with U+FFFD. If libc doesn't know
U+FFFD either, there will be enough problems running st that adding
workarounds for that case will not make sense.

Dmitrij D. Czarkoff
Received on Tue Oct 28 2014 - 14:53:28 CET

This archive was generated by hypermail 2.3.0 : Tue Oct 28 2014 - 15:00:10 CET