Pasha Zubkov wrote:
> Alexander E. Patrakov пишет:
> 
>> Pasha Zubkov wrote:
>> 
>>> Hello, this patch fix UTF-8 issue with `watch` at least in 
>>> ru_RU.UTF-8 and be_BY.UTF-8.
>> 
>> Rejected, breaks ru_RU.KOI8-R.
>> 
> Added test for UTF-8.
> 

Why not just use getwc(), and use wchar_t's in all cases?

You'd have to modify the output to convert back to multibyte characters
(specifically, LC_CTYPE-encoding characters; they may not actually have
more than one byte per character), but it looks like add_wch does that
already.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to