Wed Mar 29 17:48:54 EST 2006 rsc Wed Mar 29 17:57:07 EST 2006 rsc I removed the L'x' constants, as they make it very hard to port to non-Plan 9 systems, and tcs is actually one of the more important programs to be able to port. There were some invalid rune sequences in your program as rune constants. I translated them to Runeerror. I hope that was right. Please diff /sys/src/cmd/tcs/tune.c against yours and make sure you agree with the changes. I don't fully understand TUNE. My basic understanding is that the conversion takes over a bigger Unicode range than is currently allocated to Tamil. What range does it take over? Thanks. Russ P.S. This is a bit of overkill: static enum { state0, state1, state2, state3, state4, state5, state6, state7 } state = state0; Can we just use static int state = 0; instead?