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. >> 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. Andy -- 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