How can I use rxvt-unicode under cygwin?
rxvt-unicode should compile and run out of the box on cygwin, using the X11 libraries that come with cygwin. libW11 emulation is no longer supported (and makes no sense, either, as it only supported a single font). I recommend starting the X-server in “-multiwindow” or “-rootless” mode instead, which will result in similar look&feel as the old libW11 emulation. At the time of this writing, cygwin didn’t seem to support any multi-byte encodings (you might try “LC_CTYPE=C-UTF-8”), so you are likely limited to 8-bit encodings. Character widths are not correct. urxvt uses the system wcwidth function to know the information about the width of characters, so on systems with incorrect locale data you will likely get bad results. Two notorious examples are Solaris 9, where single-width characters like U+2514 are reported as double-width, and Darwin 8, where combining chars are reported having width 1. The solution is to upgrade your system or switch to a better one.