Andy Koppe wrote: >On 24 February 2011 11:14, Corinna Vinschen wrote: >> On Feb 24 11:56, Bengt Larsson wrote: >>> I don't use surrogates. I only use UTF-8 and UTF-32. > >... which of course means that you don't support anything but UTF-8 >and ASCII locales. Can't argue with that, but you might want to use >nl_langinfo(CODESET) to check and warn if something else is used.
Utf-8 and a number of 8-bit charsets, actually. I'm getting rather annoyed that people judge the program without looking at it. And it does use nl_langinfo(CODESET). >>> But using cygwin's >>> wcwidth may be worth thinking about. I suppose it will be consistent >>> with mintty that way; otherwise not? >> >> Yes, I think Andy uses the system functions as well. > >Yep, as should any other terminal emulator. I have fixed it to use Cygwin's wcswidth. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple