plan9port/src/cmd/tcs
Michael Teichgräber c006e98419 This patch fixes unicode, unicode-be and unicode-le
input, and unicode output, which have been broken due
to the change of the size of Rune from two bytes to
four bytes.

(Unicode-le and unicode-be output have not been
affected, since they work different, and produce
correct output as long as sizeof(Rune) >= 2.)

In all of the affected functions an extra array of N
elements of type u16int is used to temporarily store
the 16-bit unicode data.  As this increases stack
usage, perhaps a different, slightly more complicated
solution might be preferred, where only a single
`Rune buf[N]' is used for both temporary storage and
the result.

R=rsc
CC=codebot
http://codereview.appspot.com/1574041
2010-06-28 14:43:28 -07:00
..
font
8859.h
big5.c
big5.h
conv.h import from plan9 2006-05-21 18:57:51 +00:00
conv_big5.c import from plan9 2006-05-21 18:57:51 +00:00
conv_gb.c import from plan9 2006-05-21 18:57:51 +00:00
conv_jis.c import from plan9 2006-05-21 18:57:51 +00:00
conv_ksc.c import from plan9 2006-05-21 18:57:51 +00:00
cyrillic.h
desc.latin
ex2.utf
ex3.utf
ex4.utf
ex5.utf
ex6.utf
gb.c
gb.h
hdr.h
html.c avoid nonstandard entity names (Michael Teichgräber) 2006-10-12 02:37:40 +00:00
jis.h
ksc.c
ksc.h
kuten208.c
kuten208.h
kuten212.c
kuten212.h
misc.h tcs: macroman charset fixes 2010-06-28 14:37:40 -07:00
mkfile import from plan9 2006-05-21 18:57:51 +00:00
ms.h
plan9.h tcs: update for 32-bit Rune 2009-09-13 17:43:37 -04:00
tcs.c This patch fixes unicode, unicode-be and unicode-le 2010-06-28 14:43:28 -07:00
tune.c forgot 2006-05-21 20:42:33 +00:00
utf.c tcs: update for 32-bit Rune 2009-09-13 17:43:37 -04:00