cvs commit: hugs98/src char.c

22 Apr
2005
22 Apr
'05
7:43 a.m.
ross 2005/04/22 04:43:33 PDT Modified files: src char.c Log: Use mbrtowc() instead of mbtowc(), as suggested by Ian Lynagh, so we don't have to read so far ahead before reporting an encoding error. Also deal with encodings that require lookahead (one byte, anyway), like TCVN (also spotted by Ian Lynagh) -- can't test it at the moment, because glibc's implementation of that encoding is broken at the moment. Revision Changes Path 1.17 +53 -39 hugs98/src/char.c
7333
Age (days ago)
7333
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ross Paterson